GetLength - StringUtil

Revision as of 13:12, 14 May 2012 by imported>Kahmul (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' StringUtil Script Returns the length of the passed string. (This function requires SKS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

See AlsoEdit