colobot-data/help/P/cbot/strlen.txt.bak

15 lines
600 B
Plaintext
Raw Normal View History

\b;Instrukcja \c;strlen\n;
Podaje d<>ugo<67><6F> <20>a<EFBFBD>cucha.
Sk<EFBFBD>adnia<EFBFBD>:
\s;\c;strlen ( <20>a<EFBFBD>cuch );\n;
Przyk<EFBFBD>ady<EFBFBD>:
\s;\c; int len = strlen("abc"); // len r<>wne 3
\s; int len = strlen(""); // len r<>wne 0
\s; if ( strlen(s) == 0 ) // czy <20>a<EFBFBD>cuch pusty?
\n;
\t;Zobacz r<>wnie<69>
\c;\l;strleft\u cbot\strleft;\n;, \c;\l;strright\u cbot\strright;\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;Programowanie\u cbot;, \l;typy\u cbot\type; i \l;kategorie\u cbot\category;.