Right() Returns a substring from the right side of a string. : Right « String Functions « VBA / Excel / Access / Word






Right() Returns a substring from the right side of a string.

 
Sub strDemo6()
   Debug.Print Right("Test", 2)
End Sub

 

Related examples in the same category

1.Move the sign from the right-hand side thus changing a text string into a value.