Repeat - ObjectVision/GeoDMS GitHub Wiki
String functions repeat
- repeat(string_dataitem, number)
repeat(string_dataitem, number) repeats number (of) times the values of string_dataitem.
- data item string_dataitem with string value type
- data item number with uint32 value type
The domain unit of data items string_dataitem and number must match (literals or parameters can be compared to data items of any domain unit).
5.35
attribute<string> repeatA (ADomain) := repeat(A, nr);
A | nr | repeatA |
---|---|---|
'0' | 0 | |
'1' | 1 | '1' |
'2' | 2 | '22' |
'3' | 3 | '333' |
'4' | 4 | '4444' |
ADomain, nr of rows = 5