; AddBackslash
; Adds a backslash at end of a string if there is no backslash.
S="test"
If (StrSub(S,StrLen(S),1)!="\") Then S=StrCat(S,"\")
Message("",S)
S="test\"
If (StrSub(S,StrLen(S),1)!="\") Then S=StrCat(S,"\")
Message("",S)
Exit
; This one line function "IsAlpha" returns a boolean value,
; which indicates if the given sString contains only alpha characters or not.
; 'Alpha characters' is the char set of [a-zA-Z].
iIsAlpha = ((""!=sString)&&(""==StrClean(StrLower(sString),"esdiltnmarcpohfguwbxkyvjqz","",@TRUE,1)))
Exit