LlStringLength/fr

From Second Life Wiki
< LlStringLength
Revision as of 14:42, 21 March 2008 by Gally Young (talk | contribs) (Localized to french)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Fonction: integer llStringLength( string str );

Renvoie un integer correspondant au nombre de caractères dans le str (sans compter les nulls).

• string str

Exemples

// supposition : 
//    nom objet : LSLWiki
//    nom script : _lslwiki

default
{
    state_entry()
    {
        string HowLongAmI = "123";
        integer strlen = llStringLength(HowLongAmI);
        llOwnerSay( "'" + HowLongAmI + "' a " +(string) strlen + " caractères.");
        // Le propriétaire de LSLWiki entendra
        // LSLWiki: '123' a 3 caractères.
    }
}

Voir également

Fonctions

•  llGetListLength Renvoie le nombre d’éléments d’un list
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.