SPLIT method
This method splits the given string into a list where the string is split at each occurrence of the pattern.
Tehtävä
Swipe to start coding
- Define a text variable
"The cat is cute. The dog is also cute."
. - Split the text according to the
"."
in the text. - Print the results.
Ratkaisu
Mark tasks as Completed
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 7
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 11.11
SPLIT method
This method splits the given string into a list where the string is split at each occurrence of the pattern.
Tehtävä
Swipe to start coding
- Define a text variable
"The cat is cute. The dog is also cute."
. - Split the text according to the
"."
in the text. - Print the results.
Ratkaisu
Mark tasks as Completed
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 7