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

StringLength- Returns the length of a string

Function that returns the length of a string.

- StringLength(S): int


- (string) S: A string from which the length is derived.


Use the StringLength function to derive the number of characters contained in a string.


// Create a string variable

S = "Biblos"

// Get its length

T = StringLength(S)

// The variable T contains the value 6, the length of the string S