SwString
From SWWorkshop
Utility function for String operations
int swStringGetLength(char *str); char* swStringGetChrAdress(char *str,int ch); int swStringGetChrPosition(char *str,char ch); bool swStringEquals(char *str1, char *str2); bool swStringContains(char *str,char *searchStr); char* swStringConcat(char *p1,char *p2); //Don't use in loop it allocate mem for all call void swStringConcat1(char *p1,char *p2); char* swStringConcatEx(char *str1, int start1,int end1,char *str2, int start2,int end2); //Don't use in loop it allocate mem for all call void swStringCopy(char *str1,char *str2); void swStringCopyEx(char *str1,char *str2,int start,int stop); void swStringReplaceChrInString(char *str,char oldchr,char *newchr); void swString2LowerCase(char *str); void swString2UpperCase(char *str); void swString2Float(char *p,float *f); int swString2Int(char *p); bool swString2Bool(char *p); void swStringParse(char *str,char separator,char *val,char *remaining);
