The String Section
See Also
The String section of the Design view Palette contains the following functions:
-
concat returns the concatenation of the arguments.
-
contains uses the following logic: If the first argument string contains the second argument string, then the function returns true. Otherwise, the function returns false.
-
normalize-space returns the argument string with whitespace normalized by stripping leading and trailing whitespace and by replacing sequences of whitespace characters with a single space.
-
starts-with uses the following logic: If the first argument string starts with the second argument string, then the function returns true. Otherwise, the function returns false.
-
string converts an object to a string.
-
string-length returns the number of characters in the string.
-
string-literal enables you to enter a string literal.
-
substring returns the substring of the first argument starting at the position specified in the second argument with the length specified in the third argument. The position of the first character is 1, the position of the second character is 2, and so on. The third argument is optional. If the third argument is not specified, then the function returns the substring starting at the position specified in the second argument and continuing to the end of the string.
-
substring-after returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string. If the first argument string does not contain the second argument string, then the function returns an empty string.
-
substring-before returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string. If the first argument string does not contain the second argument string, then the function returns an empty string.
-
translate returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string.
-
See Also
-
About the Design View Palette
-
The Boolean Section
-
The Nodes Section
-
The Number Section
-
The Operator Section
Legal Notices