IsLetter - StringUtil

From Creation Kit
Jump to: navigation, search

SKSE Member of: StringUtil Script

Returns whether the character is a letter or not. (This function requires SKSE)

Syntax

Bool Function IsLetter(string c) native

Parameters

  • c: The character to check.

Return Value

True if the given character is a letter. False otherwise.

Examples

; Checks whether 1 is a letter or not.
string test = "1"
if(isletter(test))
  debug.notification("Given character is a letter!")
else
  debug.notification("Given character is a digit!")
endif

Notes

None

See Also