to get the file
to get the file
to get the file
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
String functions<br />
Function Parameter Returns<br />
strlen A string The no. of characters in <strong>the</strong> string<br />
strcmp Two strings 0, negative, or positive number<br />
strpos Two strings The character position...<br />
substr<br />
A string and<br />
an integer<br />
The substring of <strong>the</strong> string, starting from<br />
<strong>the</strong> second parameter (possibly, third<br />
parameter for length)<br />
chop A string Remove all whitespace from its end<br />
trim A string Remove all whitespace from both ends<br />
ltrim A string Remove all whitespace from its begin<br />
str<strong>to</strong>lower A string All uppercase letters converted <strong>to</strong><br />
lowercase<br />
str<strong>to</strong>upper A string All lowercase letters converted <strong>to</strong><br />
uppercase<br />
22