How to delete/erase sentences from a string? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to delete/erase sentences from a string?

I need to create a program which deletes first and last sentence of a single string. The part with making a string and letting the user create his own was easy, but now i'm stuck. Any ideas what to do next? Thanks anyway.

18th Feb 2017, 2:55 PM
Даниил
Даниил - avatar
1 ответ
0
substring() and indexof()?
18th Feb 2017, 4:52 PM
AlexAnder