Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

StringRight- Returns a substring by taking it from the right side of the string

Function that returns the substring of the specified length from the right part of the string.

- StringRight(S,N): string


- (string) S: String from which the substring is to be copy;

- (int) N: Number of characters to be taken from the right side of the string.


Use the StringRight function to copy N characters from the right side of the S string. The instruction is a help, also available with the StringCopy and StringLength instructions.


// Create a string variable

S = "Biblos"

// Returns the last three characters of the string S

T = StringRight(S,3)

// The variable T contains the string: los