Difference between revisions of "LlStringLength/fr"
Jump to navigation
Jump to search
Gally Young (talk | contribs) (Localized to french) |
(relecture, complements et nouvel exemple) |
||
Line 4: | Line 4: | ||
|func_footnote | |func_footnote | ||
|func_desc | |func_desc | ||
|return_text=correspondant au nombre de caractères dans le '''str''' (sans compter | |return_text=correspondant au nombre de caractères dans le '''str''' (sans compter le caractère nul de fin de chaîne). | ||
|spec | |spec | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples=< | |examples=<lsl> | ||
default | default | ||
{ | { | ||
state_entry() | state_entry() | ||
{ | { | ||
string | string Chaine_a_tester= "12354"; | ||
llOwnerSay( "'" + Chaine_a_tester + "' contient " +(string) llStringLength(Chaine_a_tester) + " caractères."); | |||
llOwnerSay( "'" + | |||
} | } | ||
} | } | ||
</ | </lsl> | ||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow||[[llGetListLength/fr|llGetListLength]]|Renvoie le nombre d’éléments d’un list}} | |also_functions={{LSL DefineRow||[[llGetListLength/fr|llGetListLength]]|Renvoie le nombre d’éléments d’un list}} |
Latest revision as of 03:03, 27 June 2008
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: integer llStringLength( string str );128 | N° de fonction |
0.0 | Delais |
10.0 | Energie |
Renvoie un integer correspondant au nombre de caractères dans le str (sans compter le caractère nul de fin de chaîne).
• string | str |
Exemples
<lsl> default {
state_entry() { string Chaine_a_tester= "12354"; llOwnerSay( "'" + Chaine_a_tester + "' contient " +(string) llStringLength(Chaine_a_tester) + " caractères."); }
} </lsl>
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.