Creating Strings String Character ConversionStandard data type: 8 bit character string. String (Function)Returns a String of multiple characters. ZStringStandard data type: null terminated 8 bit character string. WStringStandard data type: wide character string. Wstring (Function)Returns a WString of multiple characters. SpaceReturns a String consisting of spaces. WSpaceReturns a WString consisting of spaces. LenReturns the length of a string in characters. Asc Numeric to String ConversionsReturns an Integer representation of an character. ChrReturns a string of one or more characters from their ASCII Integer representation. WChrBin String to Numeric ConversionsReturns a binary String representation of an integral value. WBinReturns a binary WString representation of an integral value. HexReturns a hexadecimal String representation of an integral value. WHexReturns a hexadecimal WString representation of an integral value. OctReturns an octal String representation of an integral value. WOctReturns an octal WString representation of an integral value. StrReturns the String representation of numeric value. WStrReturns the WString representation of numeric value. Format | Numeric Serialization Working with Substrings Left Returns a substring of the leftmost characters in a string. Mid (Function)Returns a substring of a string. RightReturns a substring of the rightmost characters in a string. LCaseReturns a copy of a string converted to lowercase alpha characters. UCaseReturns a copy of a string converted to uppercase alpha characters. LTrimRemoves surrounding substrings or characters on the left side of a string. RTrimRemoves surrounding substrings or characters on the right side of a string. TrimRemoves surrounding substrings or characters on the left and right side of a string. InStrReturns the first occurrence of a substring or character within a string. InStrRevReturns the last occurrence of a substring or character within a string. Mid (Statement)Copies a substring to a substring of a string. LSetLeft-justifies a string. RSetRight-justifies a string. |