IsPunctuation - StringUtil
Revision as of 10:12, 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 punctuation or not. (This function...")
SKSE Member of: StringUtil Script
Returns whether the character is punctuation or not. (This function requires SKSE)
SyntaxEdit
Bool Function IsPunctuation(string c) native
ParametersEdit
- c: The character to check.
Return ValueEdit
True if the given character is punctuation. False otherwise.
ExamplesEdit
; Checks whether ! is punctuation or not.
string test = "!"
if(ispunctuation(test))
debug.notification("Given character is punctuation!")
else
debug.notification("Given character isn't punctuation!")
endif
NotesEdit
None