Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

string_length function

Number of characters in a string.

How to write it

string_length(text)

text
The string. Takes a string.

Examples

  • string_length⁡(hello world)=11\displaystyle \operatorname{string\_length}(\text{hello world}) = 11
    string_length("hello world")

    In the solver, string_length("hello world") gives 11.

    Open in the solver