String Group

HostExplorer Programming

String Group

3270 5250 VT

Asc—Returns an integer corresponding to the ANSI code of the first character in the specified string.

AscB—Returns the first byte. Not supported by Hummingbird Basic.

AscW—Returns the Unicode number.

Chr—Returns a one-char string for the ASCII value.

ChrB—Returns a single-byte ACSII string. Not supported by Hummingbird Basic. Supported by Microsoft Visual Basic.

ChrW—Returns a single char Unicode string. Not supported by Hummingbird Basic. Supported by Microsoft Visual Basic.

Format—Returns a formatted string of an expression based on a given format.

Hex—Returns the hexadecimal representation of a number, as a string.

InStr—Returns a variant (Long) specifying the position of the first occurrence of one string within another.

IntStrB—Returns the byte index specifying the position of the first occurrence of one string within another. Not supported by Hummingbird Basic.

LCase—Returns a string that has been converted to lowercase.

Left—Returns a variant (string) containing a specified number of characters from the left side of a string.

LeftB—Returns bytes containing a specified number of characters from the left side of a string. Not supported by Hummingbird Basic.

Len—Returns a Long containing the number of characters in a string.

LenB—Returns a byte containing the number of characters in a string. Not supported by Hummingbird Basic.

LTrim—Returns a copy of the source string, with all leading spaces removed.

Mid (method)—Returns a variant (string) containing a specified number of characters from a string.

Mid (statement)—Replaces a specified number of characters in a variant (string) variable with characters from another string.

MidB—Returns a byte containing a specified number of characters from a string. Not supported by Hummingbird Basic.

Oct—Returns a variant (string) representing the octal value of a number.

Right—Returns a string of a specified length copied from the right-most character of the string expression.

RightB—Returns a byte of a specified length copied from the right-most character of the string expression. Not supported by Hummingbird Basic.

Rtrim—Returns a copy of the source expression with all trailing spaces removed.

Space—Returns a variant (string) consisting of the specified number of spaces.

Str—Returns a string representation of a number.

StrConv—Returns a variant (string) converted as specified. Not supported by Hummingbird Basic. Supported by Microsoft Visual Basic.

String—Returns a variant (string) containing a repeating character string of the length specified.

Trim—Returns the string with leading and trailing spaces removed.

Ucase—Returns a copy of a string after all lowercase letters have been converted to uppercase.

Val—Returns the numeric value of the first number found in the specified string.