nanos world API Reference Unofficial documentation
Function Shared Native

string.len

Returns its length.

Syntax

Lua
string.len(str)

Parameters

Name Type Default Description
str string The string to find the length of.

Returns

  • number