length()
← Back to Module string
Get the length of a string
length(s)
s
number
length("Hello") ' Returns 5 length("Hello world!") ' Returns 12
Documentation version: 1.1.02. Updated on: 2 February 2026.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2026. All rights reserved.