Saltar para o conteúdo principal
Versão: 21

Trim start

Trim start ( aString : Text ) : Text

ParâmetroTipoDescrição
aStringTextText to trim
ResultadoTextTrimmed text
História
ReleaseMudanças
21Adicionado

Descrição

The Trim start command removes whitespace from the beginning of the aString parameter and returns a new string, without modifying the original one. Whitespace includes spaces, tabs, LF, CR, etc.

To return a new string with whitespace trimmed from both ends, use Trim. To return a new string with whitespace trimmed from both ends, use Trim.

In the aString parameter, you can pass any text expression. It will be left untouched by the command.

The command returns the trimmed version of the aString string. The command returns the trimmed version of the aString string.

nota

This command is based upon the trimStart Ecmascript specification.

Exemplo

var $input; $output : Text
$input:=" Hello World! "
$output:=Trim start($input) //"Hello World! "

Veja também

Trim
Trim end

Propriedades

Número de comando1854
Thread safesim