added find back cstring to ARC_String
This commit is contained in:
parent
958fc9810e
commit
0496473cf5
2 changed files with 32 additions and 0 deletions
|
|
@ -166,6 +166,17 @@ uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_
|
|||
*/
|
||||
uint64_t ARC_String_FindBack(ARC_String *string, ARC_String *substring);
|
||||
|
||||
/**
|
||||
* @brief takes a given string, and assigns index and length for position of last matching substring
|
||||
*
|
||||
* @param string the string that will be searched
|
||||
* @param cstring the cstring to find within string
|
||||
* @param length the length of cstring
|
||||
*
|
||||
* @return ~(uint64_t)0 on error, anything else on success
|
||||
*/
|
||||
uint64_t ARC_String_FindBackCString(ARC_String *string, const char *cstring, uint64_t length);
|
||||
|
||||
/**
|
||||
* @brief strips the ends based on a given char
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue