Skip to content
mtbeek32 edited this page Feb 19, 2024 · 6 revisions

String functions strlen(gth)

syntax

  • strlen(string_dataitem)

definition

strlen(string_dataitem) results in an uint32 data item with the length of each string value of argument string_dataitem.

applies to

data item string_dataitem with string value type

example

attribute<uint32> strlenA (ADomain) := strlen(A);
A strlenA
'Test' 4
'88hallo99' 9
'+)' 2
'twee woorden' 12
' test met spatie' 16

ADomain, nr of rows = 5

see also

Clone this wiki locally