Result Size: 625 x 571
demo_regex_split2.py:
x
 
import re
#Split the string at the first white-space character:
txt = "The rain in Spain"
x = re.split("\s", txt, 1)
print(x)
C:\Users\My Name>python demo_regex_split2.py
['The', 'rain in Spain']