Trim end
Trim end ( aString ) : Text
Parámetros | Tipo | Descripción | |
---|---|---|---|
aString | Text | → | Texto a recortar |
Resultado | Text | ← | Texto recortado |
Historia
Lanzamiento | Modificaciones |
---|---|
21 | Añadidos |
Descripción
The Trim end command removes whitespace from the end 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 beginning of aString, use Trim start
.
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 end of aString, the returned string is identical as the one passed in parameter.
nota
This command is based upon the trimEnd
Ecmascript specification.
Ejemplo
var $input; $output : Text
$input:=" Hello World! "
$output:=Trim end($input) //" Hello World!"
Ver también
Propiedades
Número de comando | 1855 |
Hilo seguro | ✓ |