' The value "BC" or other value depending on platform ' is assigned to the variable subString. Dim subString As String subString = RightBP$("ABC", 2) Print subString$ ' Output: "BC"