I want to get the last 5 digits/characters from a string. For example, from \"I will be going to school in 2011!\", I would like to get \"2011!\".<
\"I will be going to school in 2011!\"
\"2011!\"
Old thread, but just only to say: to use the classic Left(), Right(), Mid() right now you don't need to write the full path (Microsoft.VisualBasic.Strings). You can use fast and easily like this:
Left()
Right()
Mid()
Microsoft.VisualBasic.Strings
Strings.Right(yourString, 5)