Visara Master Console Center Scripting Guide User Manual
Page 243

Appendix B Command Syntax
Scripting Guide
243
Variable
Searches a string for a
regular expression pattern.
FINDSTR($String,$Substring==>$FoundText
Variable
Formats a string by
combining literal characters
with conversion
specifications.
FORMATSTR($String[,expr1,[expr2,…,[exprn]…]])
Variable
Obtains the current value of
the given environment
variable.
GETENV($Variable)==>$Value
Variable Obtains
the system process
identifier for this script.
GETPID()==>%ProcessId
Variable
Converts an integer to a hex
string.
HEXSTR(%Number)==>$Hex
Variable
Adds one to a numeric
variable’s value.
INC%Variable
Variable
Combines the elements
of an array into a string.
JOIN($Array,$Delimiter)==>$String
Variable Returns
the
leftmost
specified number of
characters of a string
expression.
LEFTSTR($String,%Count)==>$Substr
Variable Returns
the
leftmost
specified number of
characters of a string
expression.
LEFTSTR($String,%Count)==>$Substr
Variable
Returns the number of
characters in a string
expression.
LEN($StringExpr)==>%Count