$leftjustify

$leftjustify

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$leftjustify

Left-justifies a character string.

Syntax

$leftjustify(string)

Parameters

stringa character string or an expression that evaluates to a character string

Return Value

Character string.

Comments

String is left-justified in a space that is $length(string) characters long. Leading spaces in string are ignored.

Example

$leftjustify(" abcde")

Evaluates to “abcde “.

$leftjustify(var1)

Evaluates to “3 ” if var1 is a LONGINT variable whose value is 3 (occupies 12 character spaces when converted to a string).

See Also

$center

$rightjustify

About Character Literals

About Functional Expressions

Conversion Between Data Types

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