How to delete/erase sentences from a string? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
0
substring() and indexof()?
18th Feb 2017, 4:52 PM
AlexAnder