DiGrande.it

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

StringTrim- Returns the string without the initial and final spaces

Function that returns the string passed as parameter removing any spaces present at the beginning and at the end.

- StringTrim(S): string

Parameters:

- (string) S: A string from which initial and final spaces are removed.

Description:

Use the StringTrim function to remove the start and end spaces from a string.

Examples:

// Creates a string variable with some spaces at the beginning and at the end

S = " Biblos "

// Removes all unnecessary spaces at the beginning and end

T = StringTrim(S)

// The variable T contains the string "Biblos, without the unnecessary spaces

MsgBox(T)