►
Run
x = 'hello world apple banana' result = x.partition('cherry') print('Original String : ', x) print('Partitions : ', result)
Output