Strlen

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