152 char charat(
const char* str,
int index );
165 int size(
const char* str );
179 const char*
replace(
const char* str,
const char* toReplace,
const char* replaceWith );
193 const char*
sub(
const char* str,
int begin,
int length );
207 const char*
erase(
const char* str,
int index );
216 const char*
trim(
const char* str);
228 const char*
lower(
const char* str);
240 const char*
upper(
const char* str);
254 bool empty(
const char* str);
268 int find(
const char* str,
const char* another,
int start = 0);
286 const char*
cat(
const char* str,
const char* strcat1, ...);
293 const char*
strip(
const char* str);
303 int tok(
const char* str,
const char* tok_chars =
" |,",
bool use_all_tok_chars =
false);
321 const char*
tokn(
const char* str,
int num,
const char* tok_chars =
" |,",
bool use_all_tok_chars =
false);
339 bool tofile(
const char* filename,
const char* str,
bool append =
false,
const char* encode =
"utf8");
347 bool cmp(
const char* str1,
const char* str2);
372 const char*
addprefix(
const char* src,
const char* prefix);
385 const char*
addsuffix(
const char* src,
const char* suffix);
399 int findlast(
const char* str,
const char* findwhat);
413 const char*
findclearlast(
const char* str,
const char* findwhat);
426 const char*
findclearfirst(
const char* str,
const char* findwhat);
558 const char*
zip(
const char* str,
const char* aliasname = 0,
const char* password = 0,
int ram = 16834,
int compress_level = -1);
572 const char*
unzip(
const char* str,
const char* aliasname = 0,
const char* password = 0,
int ram = 16834);
586 const char*
compress(
const char* str,
int ram = 16834,
bool speed =
false);
598 const char*
uncompress(
const char* str,
int ram = 16834);
610 const char*
crc32(
const char* str);
622 const char*
md5(
const char* str);
634 const char*
sha256(
const char* str);
649 const char*
encryption(
const char* str,
const char* layer,
const char* password = 0,
int ram = 16834,
bool finalize =
true);
664 const char*
decryption(
const char* str,
const char* layer,
const char* password = 0,
int ram = 16834,
bool finalize =
true);
676 const char*
encryption2(
const char* str,
int ram = 16834);
688 const char*
decryption2(
const char* str,
int ram = 16834);
const char * hexencode(const char *str)
hex encode
const char * unzip(const char *str, const char *aliasname=0, const char *password=0, int ram=16834)
decompress string in a zip file, option: another way if you want to open its then use faddzip(),...
bool tofile(const char *filename, const char *str, bool append=false, const char *encode="utf8")
Save string to file.
bool cmp(const char *str1, const char *str2)
string compare between str1 and str2.
const char * decryption(const char *str, const char *layer, const char *password=0, int ram=16834, bool finalize=true)
decryption string
*bool empty(const char *str)
Informs if the string is empty or not.
*int size(const char *str)
Returns length of the string's content.
const char * base64encode(const char *str)
base64 encode
const char * cat(const char *str, const char *strcat1,...)
The function concatenates the str string and the strcat string, and the result is stored in return st...
const char * encryption2(const char *str, int ram=16834)
encryption string with algotithms version 2
const char * uncompress(const char *str, int ram=16834)
uncompress string
const char * binaryencode(const char *str)
binary encode
const char * compress(const char *str, int ram=16834, bool speed=false)
compress string
const char * sub(const char *str, int begin, int length)
Returns a substring.
const char * decdecode(const char *str)
dec decode
const char * addsuffix(const char *src, const char *suffix)
add suffix to string.
const char * tokn(const char *str, int num, const char *tok_chars=" |,", bool use_all_tok_chars=false)
const char * replace(const char *str, const char *toReplace, const char *replaceWith)
Replaces all instances of a string with another one.
const char * upper(const char *str)
Makes the string upper case.
const char * binarydecode(const char *str)
binary decode
const char * base64decode(const char *str)
base64 decode
const char * lower(const char *str)
Makes the string lower case.
const char * erase(const char *str, int index)
const char * trim(const char *str)
*const char * findclearlast(const char *str, const char *findwhat)
finds and clear string at last position.
const char * encryption(const char *str, const char *layer, const char *password=0, int ram=16834, bool finalize=true)
encryption string
char charat(const char *str, int index)
Returns character at index.
const char * strip(const char *str)
The strip removes any whitespace at start and end characters.
int tok(const char *str, const char *tok_chars=" |,", bool use_all_tok_chars=false)
const char * urlencode(const char *str)
url encode
const char * sha256(const char *str)
get sha256
const char * zip(const char *str, const char *aliasname=0, const char *password=0, int ram=16834, int compress_level=-1)
*int findlast(const char *str, const char *findwhat)
finds position the ended string by string.
const char * crc32(const char *str)
get crc32
const char * findclearfirst(const char *str, const char *findwhat)
finds and clear string at first position.
const char * addprefix(const char *src, const char *prefix)
add prefix to string.
const char * md5(const char *str)
get md5
const char * decencode(const char *str)
dec encode
int find(const char *str, const char *another, int start=0)
finds another string in this string
const char * replacewhitespace(const char *str)
replace string \t\n\r\0 to whitespace programming code.
const char * hexdecode(const char *str)
hex decode
const char * urldecode(const char *str)
url decode
const char * decryption2(const char *str, int ram=16834)
decryption string with algotithms version 2