Skip to content

Getstrlen

Akkarinage edited this page Nov 5, 2016 · 1 revision

title: Getstrlen permalink: /Getstrlen/

Category:Script_Command

Syntax

Description

This function will return the length of the string given as an argument. It is useful to check if anything input by the player exceeds name length limits and other length limits and asking them to try to input something else.

Examples

    mes "The word 'Hello' has "+getstrlen("Hello")+" characters.";
    // output: The word 'Hello' has 5 characters.

Home

Getting Started

Configure your Server

Customization

Setup the Client

Misc Databases

Third-Party Software

Clone this wiki locally