Run »
×
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:
Submit