LTRIM

Icône du lien vers le conceptVoir également

Renvoie la copie d'une chaîne sans les espaces à gauche.

Support WebVue - Oui.

Syntaxe

StrVal = LTRIM(string);

Type de retour : STR

Argument

Définition

string

Chaîne de caractères contenant les espaces à supprimer. Type STR.

Exemple

SUB Main()

'Declare strings

DIM strResult as Str;

DIM strValue as Str;

 

strValue = "Hello, World!"; 'preceding spaces

strResult = LTrim(strValue);

PRINT("LTrim(",strValue,") = ",strResult);

'Display "LTrim( Hello, World!) = Hello, World!"

END SUB