colobot-data/help/F/cbot/strright.txt

22 lines
811 B
Plaintext

\b;Instruction \c;strright\n;
Cette instruction extrait la partie droite d'une chaîne de caractères.
Syntaxe:
\s;\c;strright ( string, len );\n;
\t;len: \c;\l;int\u cbot\int;\n;
Nombre de caractères à extraire depuis la droite.
Exemples:
\s;\c; string s = strright("abcdef", 2); // s vaut "ef"
\s; string s = strright("abc", 10); // s vaut "abc"
\n;
\t;Dictionnaire anglais-français
\c;string\n; = chaîne de caractères
\c;right \n; = droite
\c;length\n; = longueur
\t;Voir aussi
\c;\l;strlen\u cbot\strlen;\n;, \c;\l;strleft\u cbot\strleft;\n;, \c;\l;strmid\u cbot\strmid;\n;, \c;\l;strfind\u cbot\strfind;\n;, \c;\l;strval\u cbot\strval;\n;, \c;\l;strupper\u cbot\strupper;\n;, \c;\l;strlower\u cbot\strlower;\n;
\l;Programmation\u cbot;, \l;types\u cbot\type; et \l;catégories\u cbot\category;.