Здравствуйте. Для работы с разделителями у меня есть две опций вкючая_разделитель/не включая , но пока работает только не включая
Например:
var_text ='Алеша я видела тебя! Привет еще раз'
new_text = var_text.split('привет')
Тут получается 'Алеша я видела тебя! ' и 'еще раз'
Но мне еще нужно 'Алеша я видела тебя! Привет' и 'еще раз'
Т.е я хочу включить разделитель в отображение. Как мне это можно сделать?
Спасибо!