StringUtil Script: Difference between revisions
Jump to navigation
Jump to search
m
→SKSE Global Functions: Reverted to List
imported>CraftySentinel m (→SKSE Global Functions: Formatting Change) |
imported>CraftySentinel m (→SKSE Global Functions: Reverted to List) |
||
| Line 17: | Line 17: | ||
== SKSE Global Functions == | == SKSE Global Functions == | ||
:'''Int [[GetLength - StringUtil|GetLength]](String ''str'')''' | |||
:*Returns the length of the string. | |||
:'''String [[GetNthChar - StringUtil|GetNthChar]](String ''str'', Int ''n'')''' | |||
:*Returns the character at n in str as a string. | |||
:'''Bool [[IsLetter - StringUtil|IsLetter]](String ''c'')''' | |||
:*Returns whether the character is a letter or not. | |||
:'''Bool [[IsDigit - StringUtil|IsDigit]](String ''c'')''' | |||
:*Returns whether the character is a digit or not. | |||
:'''Bool [[IsPunctuation - StringUtil|IsPunctuation]](String ''c'')''' | |||
:*Returns whether the character is punctuation or not. | |||
:'''Bool [[IsPrintable - StringUtil|IsPrintable]](String ''c'')''' | |||
:*Returns whether the character is printable or not. | |||
:'''Int [[Find - StringUtil|Find]](String ''str'', String ''toFind'', Int ''startIndex'')''' | |||
:*Returns the index of the first occurence of specified phrase inside the string, starting at given position. | |||
:'''String [[Substring - StringUtil|Substring]](String ''str'', Int ''startIndex'', Int ''len'')''' | |||
:*Returns a portion of the string starting at given index with specified amount of characters. | |||
:'''Int [[AsOrd - StringUtil|AsOrd]](String ''c'')''' | |||
:*Returns the numeric value of a character. | |||
:'''String [[AsChar - StringUtil|AsChar]](Int ''c'')''' | |||
:*Returns the number as a string character. | |||
== Member Functions == | == Member Functions == | ||