StringUtil Script: Difference between revisions

Jump to navigation Jump to search
321 bytes removed ,  19 August 2012
imported>JohnB
imported>JohnB
Line 21: Line 21:
'''string Function [[GetNthChar - StringUtil|GetNthChar]](string str, int n)'''
'''string Function [[GetNthChar - StringUtil|GetNthChar]](string str, int n)'''
*Returns the character at n in str as a string.
*Returns the character at n in str as a string.
'''bool Function [[IsUppercase - StringUtil|IsUppercase]](string c)'''
*Returns whether the character is uppercase or not.
'''bool Function [[IsLowercase - StringUtil|IsLowercase]](string c)'''
*Returns whether the character is lowercase or not.


'''bool Function [[IsLetter - StringUtil|IsLetter]](string c)'''
'''bool Function [[IsLetter - StringUtil|IsLetter]](string c)'''
Line 37: Line 31:
*Returns whether the character is punctuation or not.
*Returns whether the character is punctuation or not.


'''string Function [[ToUpper - StringUtil|ToUpper]](string str)'''
'''bool Function [[IsPrintable - StringUtil|IsPrintable]](string c)'''
*Returns the string as uppercase.
*Returns whether the character is printable or not.
 
'''string Function [[ToLower - StringUtil|ToLower]](string str)'''
*Returns the string as lowercase.


'''int Function [[Find - StringUtil|Find]](string str, string toFind, int startIndex)'''
'''int Function [[Find - StringUtil|Find]](string str, string toFind, int startIndex)'''
Line 50: Line 41:


'''int Function [[AsOrd - StringUtil|AsOrd]](string c)'''
'''int Function [[AsOrd - StringUtil|AsOrd]](string c)'''
*Returns the character as a number.
*Returns the numeric value of a character.


'''string Function [[AsChar - StringUtil|AsChar]](int c)'''
'''string Function [[AsChar - StringUtil|AsChar]](int c)'''
Anonymous user

Navigation menu