in this article we'll learn about split string

syntax

1
string.split(separator, maxsplit)

example

1
2
3
4
5
6
7
8
9
#string
string = "hello/world"

#split

split = string.split('/')

#print
print(split)

output

['hello', 'world']

English today is not an art to be mastered it's just a tool to use to get a result