StringUtil Script: Difference between revisions
Jump to navigation
Jump to search
→SKSE Global Functions
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 [[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. | ||
''' | '''bool Function [[IsPrintable - StringUtil|IsPrintable]](string c)''' | ||
*Returns the | *Returns whether the character is printable or not. | ||
'''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 | *Returns the numeric value of a character. | ||
'''string Function [[AsChar - StringUtil|AsChar]](int c)''' | '''string Function [[AsChar - StringUtil|AsChar]](int c)''' | ||