$ttrim

$ttrim

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$ttrim

Trims trailing blanks from a character string.

Syntax

$ttrim(string)

Parameters

stringa character string, or any expression that evaluates to a character string

Return Value

Character string.

Comments

Use $ttrim to remove trailing spaces from a character string.

For output purposes, the implicit length of the result returned by $ttrim is the same as the length of string.

Example

$ttrim (LastName)

Evaluates to “Smith” if LastName is stored as “Smith “.

detail line $concat($ttrim(LastName),", ",FirstName)

Displays a last name first in a report.

See Also

$ltrim

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese