VBA Functions: Text

Find the list of all the main VBA functions on the VBA Functions page.

Text

AscReturns the integer corresponding to a character.
ChrReturns the character corresponding to the integer argument.
FormatReturns a string according to a date or number in the specified format.
InStrReturns an integer corresponding to the position of a value in a string.
InStrRevReturns an integer corresponding to the position of a value in a string starting from the right.
LCaseConverts a string to lowercase.
LeftReturns the specified number of characters from a string from the left.
LenReturns the number of characters in a string.
MidReturns the specified number of characters from a string starting from the defined character number.
ReplaceReturns a string after replacing the substring(s) matching the searched value.
RightReturns the specified number of characters from a string from the right.
StrReverseReturns a string after reversing the order of the characters.
TrimReturns a string after removing the spaces at the left and right of the string.
UCaseConverts a string to uppercase.