bayrell / BayLang

BayLang compiler source code
https://bayrell.org/ru/docs/baylang
Apache License 2.0
4 stars 0 forks source link

Строки #162

Open ildar-ceo opened 2 months ago

ildar-ceo commented 2 months ago

Получить char

string s = "Hello, World!";
char ch1 = s[1];
char ch2 = chartAt(s, 2);

Подстрока

string s1 = substr(s, 1, 5);