WiseScript Package Editor Reference 254
Quick Reference
Logical Operators
Windows Language Codes
¾ WiseScript Package Editor only
For additional language codes, search for “Language Code and Scripts” in the MSDN
Library (msdn.microsoft.com/library).
Before$(str1,str2) Returns the portion of a string (str1) before the indicated
substring (str2). Example: Before$(“windows”,“d”) returns
“win.”
After$(str1,str2) Returns the portion of a string (str1) after the indicated
substring (str2). Example: After$(“windows”,“d”) returns
“ows.”
Len(str) Returns the length of a given string. Do not include the $
character because this operator does not return a string.
Lcase$(str) Converts all characters in a string to lowercase.
Ucase$(str) Converts all characters in a string to uppercase.
Ltrim$(str) Deletes all leading spaces.
Rtrim$(str) Deletes all trailing spaces.
Logical
Operator
Example Description
And A And B True only if expression A and B are both true
Or A Or B True if either expression, A or B, is true, or if both A and
B are true
Not A Not B True only if one expression is true. Example: A but not B
> X>Y True if expression X is numerically greater than Y
< X<Y True if expression X is numerically less than Y
>= X>=Y True if expression X is numerically greater than or equal
to Y
<= X<=Y True if expression X is numerically less than or equal to
Y
= X=Y True if expression X is numerically equal to Y
<> X<>Y True if expression X is not numerically equal to Y
Language Code Script
Belgian (Flemish) NLB Latin 1
Czech CSY Latin 2
Danish DAN Latin 1