Symantec WISE LINUX PACKAGE EDITOR 8.0 - REFERENCE V1.0 Reference page 64

Table of Contents

Advertisement

Linux Package Editor Reference
Mid
Sets the variable to the middle portion of the string in
Variable Name (from a specified starting point to the end of
the string)
In Argument, enter the starting point as the number of
characters from the left of the string. Example: If the string
is 12345, and you specify 2 as the starting point, this returns
2345.
Concat
Joins the string in Variable Name and the literal text or
variable value in Argument
Instr
Determines if a substring is present within an original string
In Argument, enter the substring.
Before
Returns the portion of a string before a specified substring
In Argument, enter the substring. Example: If the string is
12345, and you specify 4 as the substring, this returns 123.
After
Returns the portion of a string after a specified substring
In Argument, enter the substring. Example: If the string is
12345, and you specify 2 as the substring, this returns 345.
Lcase
Converts all characters in the string in Variable Name to
lowercase
Ucase
Converts all characters in the string in Variable Name to
uppercase
Ltrim
Deletes all leading spaces from the string in Variable Name
Rtrim
Deletes all trailing spaces from the string in Variable Name
Literal
Sets the variable to the literal contents of the Argument
field
No variable substitution is made.
Variable
Sets the variable to the string in Variable Name
Variable Name
The functions in String Function act on the string that is represented by the
variable you specify here.
Argument
If the function in String Function requires an argument, enter it here. You can
enter a variable, preceded by $ and adhering to standard conventions for naming
Linux shell variables.
Numeric Expression
Mark this to set the variable to the value of a numeric expression, which you enter
in Expression.
Logical Expression
Mark this to set the variable to the value of a logical expression, which you enter in
Expression.
Expression
If you select Numeric Expression or Logical Expression, enter the expression
here.
Script Actions
64

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wise linux package editor 8.0

Table of Contents