hyTags
HomeHome DocumentationDocumentation

string-get-length

Gets the number of characters in the string.
Parameter
Type
Description
self
String
String to get length of
return
number
Number of characters in the string
Test Case:Get string length
    <div></div>
    
    <string-new value="hello">
    <string-get-length>
    <number-to-string>
    <assert-equal value="5" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed