Background for Skyrim SE
Member of the StringUtil script
intfunctionGetLength(strings)NativeGlobal

Description

Wiki Description

Returns the length of the passed string. (This function requires SKSE)

Documentation Comment

return the length of the string


Caveats

CK Wiki - Notes

None


Parameters

strings

CK Wiki Description

The string to return the length of.


Examples

; 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.

Auto-Generated Example

string myString__s

int returnedValue = StringUtil.GetLength(myString__s)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.