Getstrlen
Akkarinage edited this page Nov 5, 2016
·
1 revision
Pages 190
Getting Started
- Installation instructions
- Transitioning from SVN to GIT
- Compiling on your OS
- Connecting & Starting rAthena
Configure your Server
- Scripting like a pro!
- Server Modifications and what to expect
- Database Configuration
Customization
- Adding Custom Items
- Adding Custom Monsters
- GRF Encryption
Setup the Client
- Data folder
- Diff files
Misc Databases
Third-Party Software
Clone this wiki locally
title: Getstrlen permalink: /Getstrlen/
Syntax
- getstrlen("");
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.