Text.Right

From Xojo Documentation

Method

Text.Right(count As Integer) As Text

Supported for all project types and targets.

Returns the last count characters of the Text value.

Exceptions

Sample Code

Get "World!" from text:

Dim t As Text = "Hello, World!"
t = t.Right(6) ' t = "World!"