Back to questions
JuniorTheoryCommon
What does the program print (lines separated by spaces)?
Текст = "Чек ""А-12""";
Сообщить(СтрДлина(Текст));
Сообщить(СтрЗаменить("10-20-30", "-", "+"));10 10+20+30
- Counting
""as two characters: a doubled quote in a literal is one quote in the text - Expecting
СтрЗаменитьto replace only the first occurrence: it replaces all of them
- How do you write a string that spans several lines of code?
- How do you count how many hyphens a string holds?