CST2601 Visual
Basic I
Notes on Right Function
Right FunctionReturns a Variant (String) containing a specified number of characters from the right side of a string. Syntax Right(string, length) The Right function syntax has these named arguments:
Remarks To determine the number of characters in string, use the Len function. Note Use the RightB function with byte data contained in a string. Instead of specifying the number of characters to return, length specifies the number of bytes. Right Function ExampleThis example uses the Right function to return a specified number of characters from the right side of a string.
|