IsLetter - StringUtil

Revision as of 10:06, 15 May 2012 by imported>Kahmul (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' StringUtil Script Returns whether the character is a letter or not. (This function re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: StringUtil Script

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

SyntaxEdit

Bool Function IsLetter(string c) native

ParametersEdit

  • c: The character to check.

Return ValueEdit

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

ExamplesEdit

; 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

NotesEdit

None

See AlsoEdit