StringUtil Script: Difference between revisions

Jump to navigation Jump to search
imported>Kahmul
(uppercase -> lowercase)
imported>JohnB
Line 43: Line 43:
*Returns the string as lowercase.
*Returns the string as lowercase.


'''int Function [[Find - StringUtil|Find]](string str, string input, int start)'''
'''int Function [[Find - StringUtil|Find]](string str, string toFind, int startIndex)'''
*Returns the index of the input found in the string starting at start.
*Returns the index of the first occurence of specified phrase inside the string, starting at given position.


'''int Function [[Substring - StringUtil|Substring]](string str, int start, int len)'''
'''int Function [[Substring - StringUtil|Substring]](string str, int startIndex, int len)'''
*Returns a portion of the string starting at start until len amount of characters.
*Returns a portion of the string starting at given index with specified amount of characters.


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

Navigation menu