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

17 lines
689 B
Plaintext
Raw Normal View History

\b;Instrukcja \c;strleft\n;
Wyodr<EFBFBD>bnia pocz<63>tkowe (najbardziej na lewo) znaki z <20>a<EFBFBD>cucha.
Sk<EFBFBD>adnia<EFBFBD>:
\s;\c;strleft ( <20>a<EFBFBD>cuch, d<>ugo<67><6F> );\n;
\t;d<>ugo<67><6F>: \c;\l;int\u cbot\int;\n;
Liczba znak<61>w do wyodr<64>bnienia.
Przyk<EFBFBD>ady<EFBFBD>:
\s;\c; string s = strleft("abcdef", 2); // s r<>wne "ab"
\s; string s = strleft("abc", 10); // s r<>wne "abc"
\n;
\t;Zobacz r<>wnie<69>
\c;\l;strlen\u cbot\strlen;\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;.