" "Character-string literal
Specifies a literal character-string value.
Syntax
characters
R | L | C | T
Specifies the justification of the string within its maximum length: right, left, centered, or trimmed, respectively. The default justification depends on how the string is used. If the string is displayed with side labels, the default is right justification. If column labels are used, the defaults are left justification for character fields and right justification for numeric fields. Strings used in expressions are trimmed by default.
- R means right justified and padded on the left with spaces:
"Hello":R10 = " Hello"
.- L means left justified and padded on the right with spaces:
"Hello":L10 = "Hello "
.- C means centered within the string and padded on both the right and left as needed:
"Hello":C10 = " Hello "
.- T means trimmed of leading and trailing blanks (although storage space and screen space is still allocated for the maximum number of characters):
" Hello":T10 = "Hello"
(but screen and storage space is still reserved for 10 characters).Umax-length
NoteIf you include the colon (:) after the quoted string, you must supply at least one option. Otherwise, ABL treats the colon as a statement separator.
OpenEdge Release 10.2B
|