See
str.partition
.