LlStringLength/fr
From Second Life Wiki
| Portail LSL | | | Fonctions | | | Évènements | | | Types | | | Constantes | | | Contrôle d'exécution | | | Bibliothèque de scripts | | | Tutoriels |
Description
Fonction: integer llStringLength( string str );| 128 | N° de fonction |
| 0.0 | Délai |
| 10.0 | Energie |
Renvoie un correspondant au nombre de caractères dans le str (sans compter le caractère nul de fin de chaîne).
| • string | str |
Exemples
default { state_entry() { string Chaine_a_tester= "12354"; llOwnerSay( "'" + Chaine_a_tester + "' contient " +(string) llStringLength(Chaine_a_tester) + " caractères."); } }

