String functions allow you to manipulate strings in various ways. You can extract characters or substrings from a string, convert strings into other data types, format strings, search for strings, and perform other operations.
Following are functions relating to Strings:
Converts an ASCII code into a string. |
|
Converts a number into a hexadecimal string. |
|
Converts an integer variable into a string. |
|
Converts a Citect SCADA path into a string. |
|
Converts a floating-point variable into a string. |
|
Retrieves the pixel width of a string using a particular font. |
|
Removes control characters from a string. |
|
StrEndsWith | Verifies whether the given string ends with a specific string. |
Fills a string with characters. |
|
Formats a variable into a string. |
|
Gets a single character from a string or buffer. |
|
Gets the left-hand characters from a string. |
|
Gets the length of a string. |
|
StrListContainsItem | Checks whether the string passed is an item contained in a delimited list of strings. |
Converts a string to lower-case. |
|
Gets characters from the middle of a string. |
|
Pads a string to the required length. |
|
Gets the right-hand characters from a string. |
|
Searches for a string within a string. |
|
Sets a single character into string or buffer. |
|
StrSplit | Checks whether the string passed is an item contained in a delimited list of strings. |
StrToBool | Converts a string value to a Boolean value. |
Converts a string to an ASCII code. |
|
Converts a string into a date variable. |
|
Converts a string into format fields. |
|
Converts a string into a group. |
|
Converts a hexadecimal string into an integer. |
|
Converts a string into an integer variable. |
|
Converts a string into lines of limited length. |
|
Converts a string from Native language to Local language. |
|
Converts a string into a (time) period. |
|
Converts a string into a floating-point variable. |
|
Converts a string into a time variable. |
|
Converts a string into a floating-point variable. |
|
Trims spaces from a string. |
|
Returns the truncated string using a particular font (specified by name) or the specified number of characters. |
|
Returns the truncated string using a particular font (specified by font number) or the specified number of characters. |
|
StrTruncFontTooltip | Returns a truncated string with ellipsis, and sets an AN with a tooltip containing the complete string if a truncation occurs. |
Converts a string to upper-case. |
|
Gets a word from a string. |
See Also
Published June 2018