Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

splitting strings in Python

cmd = input('Enter command:')
dictionary = cmd.split(' ')[1]
text = cmd.split(' ')[2:]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #splitting #strings #Python
ADD COMMENT
Topic
Name
9+3 =