Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
Disabled
×
Change Orientation
import re #Split the string at the first white-space character: txt = "The rain in Spain" x = re.split("\s", txt, 1) print(x)
['The', 'rain in Spain']
×
Report a Problem:
Your E-mail:
Page address:
Description:
Disabled