Unquote - ObjectVision/GeoDMS GitHub Wiki
String functions unquote
- unquote(string_dataitem)
unquote(string_dataitem) removes single quotes from the values of data item string_dataitem.
A value that does not begin and end with a single quote results in null. Since GeoDMS 20.23.1 that includes a value of one single quote character and nothing else. Before, such a value was read on beyond its end, into the values that follow it, and gave an unpredictable result.
data item string_dataitem with string value type
attribute<string> unquoteA (ADomain) := unquote(A);
| A | unquoteA |
|---|---|
| ''Test'' | 'Test' |
| ''88hallo99'' | '88hallo99' |
| ''+)'' | '+)' |
| ''twee woorden'' | 'twee woorden' |
| '' test met spatie'' | ' test met spatie' |
ADomain nr of rows = 5