◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── String Operations ■ The following keywords are used in Visual Basic to capture and manipulate strings: ◄ASC► Returns ASCII value of the given character ◄CHR$► Returns character with the given ASCII value ◄COMMAND$► Returns argument portion of command line string ◄CURDIR$► Returns current path ◄CVDMBF► Converts 8-byte numeric string to IEEE-format ◄CVSMBF► Converts 4-byte numeric string to IEEE-format ◄FORMAT$► Converts a number to a string and formats it ◄HEX$► Returns hexidecimal string representation of a number ◄INSTR► Searches for a string within another string ◄LCASE$► Returns string expression with all lowercase letters ◄LEFT$► Returns characters from the left side of a string ◄LEN► Indicates how many characters are in a string ◄LSET► Left-justifies string within a fixed-length string ◄LTRIM$► Returns a copy of string without leading spaces ◄MID$ Function► Returns a given number of characters from a string ◄MID$ Statement► Replaces part of a string with another string ◄MKDMBF$► Converts IEEE-format number to 8-byte numeric string ◄MKSMBF$► Converts IEEE-format number to 4-byte numeric string ◄OCT$► Returns octal representation of a number ◄RIGHT$► Returns characters from the right side of a string ◄RSET► Right-justifies string within a fixed-length string ◄RTRIM$► Returns a copy of a string without trailing spaces ◄SPACE$► Returns string of blank characters ◄STR$► Returns string representation of a numeric expression ◄STRING$► Returns string consisting of one repeated character ◄UCASE$► Returns string expression with all letters in uppercase ◄VAL► Returns numeric value of a string of digits See: ◄Keywords by Task► ◄String Operators►