AsDataString
string-functions AsDataString
syntax
- AsDataString(string_dataitem)
definition
- AsDataString(string_dataitem) results in a string parameter with all values of string_dataitem, comma delimited and single quoted.
applies to
- data-item string_dataitem with string value-type
example
parameter<string> CityListParam := AsDataString(City/Name);
result = 'Groningen,Delfzijl,Winschoten,Leeuwarden,Dokkum,Bolsward,Emmen,Assen,Hoogeveen'
City/Name |
---|
‘Groningen’ |
‘Delfzijl’ |
‘Winschoten’ |
‘Leeuwarden’ |
‘Dokkum’ |
‘Bolsward’ |
‘Emmen’ |
‘Assen’ |
‘Hoogeveen’ |
domain City, nr of rows = 9