GetLength - StringUtil
SKSE Member of: StringUtil Script
Returns the length of the passed string. (This function requires SKSE)
SyntaxEdit
Int Function GetLength(string str) native
ParametersEdit
- str: The string to return the length of.
Return ValueEdit
- The length of the string.
ExamplesEdit
; Obtains the length of "Hello, World!"
Int stringLength = getLength("Hello, World!")
Debug.MessageBox("The length of the given string is " + stringLength + ".")
; The length of the given string is 13.
NotesEdit
None