- Web Studio Help
- Appendix: Built-in Scripting Language
- String functions
String functions
These functions are used to manipulate text strings or convert them into numeric values.
- Asc2Str
This function converts one or more Unicode character codes to a string. - CharToValue
This function converts a string to Unicode character codes and then stores those values in an integer array. - CharToValueW
This function converts a string to Unicode character codes, combines each two codes into a double-byte word, and then stores those values in an integer array. - ClassMembersToStrVector
Transfers values from a Class tag to an Array tag. - NCopy
Copies a defined section of a larger string. - Num
Converts a string into a float. - Str
Converts a number into a string. - Str2Asc
This function converts a character to its corresponding Unicode character code. - StrCompare
Compares two strings to see if they are identitical. - StrCompareNoCase
Compares two strings to see if they are identitical, ignoring the case of letters (i.e., the lower-case “a” is considered to have the same value as the upper-case “A”). - StrFromInt
Converts an integer into its string representation in another base number system, such as binary (base-2) or octal (base-8). - StrFromReal
StrFromReal is a built-in scripting function that converts a real numerical value to a string value, in either floating-point or exponential notation. - StrFromTime
Converts a timestamp from UTC standard notation into a formatted string, adjusted to reflect the Time Zone setting in the Control Panel of the local computer. - StrGetElement
Gets a specific element from a string source. - StrLeft
Copies the first characters of a larger string. - StrLen
Determines the length of a string. - StrLower
Converts a string to all lower case characters. - StrRChr
Isolates the final occurrence of a character sequence within a string. - StrRight
Copies the last characters in a larger string. - StrSetElement
Sets a specific element in a string source. - StrStr
Isolates the first occurrence of a character sequence within a string. - StrStrPos
Finds the first occurrence of a character within a string. - StrTrim
Removes unwanted spaces from a string. - StrTrimAll
Eliminates a specific char from the whole string. - StrUpper
Converts a string to all uppercase characters. - ValueToChar
This function converts an integer array of Unicode character codes to a string. - ValueWToChar
This function converts an integer array of Unicode character codes to a string, where each value in the array is a double-byte word.
Parent topic: Appendix: Built-in Scripting Language
InduSoft Web Studio -Technical Reference