-
Notifications
You must be signed in to change notification settings - Fork 1
Right
Jip Claassens edited this page Jul 6, 2026
·
9 revisions
String functions right
- right(string_dataitem, length)
right(string_dataitem, length) results in a substring of string_dataitem with the number of characters of the length argument, starting from the right of the string_dataitem.
right(A, 3) is a synonym for substr(A, [strlen] - 3, 3).
- data item string_dataitem with string value type
- literal or parameter length with uint32 value type
7.155
attribute<string> rightA (ADomain) := right(A, 3);
| A | rightA |
|---|---|
| 'Test' | 'est' |
| '88hallo99' | 'o99' |
| '+)' | '+)' |
| 'twee woorden' | 'den' |
| ' test met spatie' | 'tie' |
ADomain, nr of rows = 5
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.