added number checking to string
This commit is contained in:
parent
7bd7cc4aa5
commit
5842197142
2 changed files with 25 additions and 5 deletions
|
|
@ -176,9 +176,18 @@ ARC_Bool ARC_String_SubstringEqualsCString(ARC_String *string, uint64_t offset,
|
|||
*
|
||||
* @param string string to check
|
||||
*
|
||||
* @return 1 if alphabetic, 0 if not alphabetic
|
||||
* @return ARC_True if alphabetic, ARC_False if not alphabetic
|
||||
*/
|
||||
uint8_t ARC_String_Alpha(ARC_String *string);
|
||||
ARC_Bool ARC_String_IsAlpha(ARC_String *string);
|
||||
|
||||
/**
|
||||
* @brief checks if string is made out of only numbers
|
||||
*
|
||||
* @param string string to check
|
||||
*
|
||||
* @return ARC_True if it is numeric, ARC_False if it is not numeric
|
||||
*/
|
||||
ARC_Bool ARC_String_IsNumeric(ARC_String *string);
|
||||
|
||||
/**
|
||||
* @brief converst substring from string to uint64_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue