📦 Archived documentation: r1 (committed 2026-07-24) View current documentation →

string.length

string.lenght -> number

Get the length of a string

Returns

number string length (bytes)

Example

let a = "Hello World";

print( a.length ); // 11