This section presents all functions that process or analyze strings.
String processing
The following functions process one or more strings and return a new string as a result:
Uppercase/ |
| Changes lowercase letters to uppercase |
| Changes uppercase letters to lowercase | |
String length |
| Lengthens a string with fill characters |
| Removes repeated characters at the beginning or end of a string | |
Substring |
| Returns a specific substring |
| Replaces a specific substring | |
SDF list |
| Appends a new element to an SDF list |
New name |
| Gives a new name to the specified string; wildcards may be used |
Field extraction |
| Extracts a field from a string |
String analysis
The following functions analyze a specified string:
Initial position |
| Searches for the position of a substring within a full string |
String length |
| Determines the length of a string |
Character search |
| Checks whether particular characters are contained in the specified string |
Pattern |
| Checks whether a string contains a particular pattern |
C-Literal |
| Checks whether a string is a C literal |
X-Literal |
| Checks whether a string is an X literal |
Number |
| Checks whether a string represents an integer (i.e. can be converted into an INTEGER value) |
SDF structure |
| Returns the value of an SDF structure as a string |
| Checks whether a string is an SDF structure | |
SDF list |
| Checks whether a string is an SDF list |
| Returns an element in an SDF list | |
| Returns the number of elements in an SDF list | |
SDF data type |
| Checks whether a string satisfies the SDF data type requirements |
List variable |
| Searches a list variable for a string (including regular POSIX expression) |
Name checking
The following function checks whether the specified string complies with the necessary naming conventions:
Variable name |
|
Functions for accessing variables
The functions presented in this section return as a return value a variable name, the contents of a variable or entries for building up a variable. They make it possible to process complex variables.
Complex variable |
| Returns the variable name of the first variable element |
| Returns the variable name of the next variable element | |
Number of variable elements |
| Returns the number of elements in a complex variable |
Upper limit for list elements |
| Outputs the maximum number of elements that the specified list variable can contain |
Value of an array index |
| Returns the value of an array index, i.e. the array index that complies with the specified conditions |
Variable attributes
Variable type |
| Returns the current data type of a simple variable |
Attribute occurrence |
| Returns the value of the specified attribute |
Variable declaration |
| Checks whether a variable is declared |
Initialization |
| Checks whether a variable contains a valid value |
Scope |
| Returns the scope of a structure layout |