Home » Community » Newbie corner » Strings related functions
Strings related functions [message #37915] |
Fri, 23 November 2012 04:46 |
navi
Messages: 107 Registered: February 2012 Location: Sydney, Australia
|
Experienced Member |
|
|
Hi All,
Just wondering are there other library of Sting related functions in U++ other then in String Class and String Utility Function? I am in need of some basic string processing functions like string compare case insensitive, convert case to upper, lower, Title etc.
Thanks
Navi
|
|
|
Re: Strings related functions [message #37916 is a reply to message #37915] |
Fri, 23 November 2012 07:12 |
|
navi wrote on Fri, 23 November 2012 04:46 | Hi All,
Just wondering are there other library of Sting related functions in U++ other then in String Class and String Utility Function? I am in need of some basic string processing functions like string compare case insensitive, convert case to upper, lower, Title etc.
Thanks
Navi
|
Hi Navi
Most of the functions you ask for are there
ToUpper(str); // convert to upper case
ToLower(str); // convert to lower case
ToLower(str1) < ToLower(str2); // case insensitive compare
str = ToLower(str); str[0] = ToUpper(str[0]); // is this what you mean by 'title'?
Best regards,
Honza
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 28 08:40:19 CEST 2024
Total time taken to generate the page: 0.81979 seconds
|