Saltar al contenido principal
Versión: Siguiente

Trim start

Trim start ( aString ) : Text

ParámetrosTipoDescripción
aStringTextTexto a recortar
ResultadoTextTexto recortado
Historia
LanzamientoModificaciones
21Añadidos

Descripción

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 the end of aString, use Trim end.

In the aString parameter, you can pass any text expression. Será dejado sin tocar por el comando.

The command returns the trimmed version of the aString string. If there is no whitespace at the beginning of aString, the returned string is identical as the one passed in parameter.

nota

This command is based upon the trimStart Ecmascript specification.

Ejemplo

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

Ver también

Trim
Trim end

Propiedades

Número de comando1854
Hilo seguro