Trim - ObjectVision/GeoDMS GitHub Wiki
String functions trim
- trim(string_dataitem)
trim(string_dataitem) removes space characters before the first and after the last non space character in string_dataitem.
data item string_dataitem with string value type
attribute<string> trimA (ADomain) := trim(A);
| A | trimA |
|---|---|
| 'Test' | 'Test' |
| '88hallo99' | '88hallo99' |
| '+)' | '+)' |
| 'twee woorden' | 'twee woorden' |
| ' test met spatie' | 'test met spatie' |
ADomain, nr of rows = 5