|
![]() |
||||||||||||||
Primitive Data Types TutorialFunction strLenString function strLen(x) computes the length of the string x. It is important to understand that string x may include any characters, and that characters with ASCII code zero are not handled as string terminals. Thus, String type includes not only character strings, but, also, byte strings. Source code:{# strLen( "a\0b" ), strLen( "abc" ) #} Result:{# 3, 3 #}
|
|
||||||||||||||
© 2006 Saša Malkov | |||||||||||||||