For example, I have a string as:
str = 's3://files.production/object/Image/110/image.jpg'
and I would like to split it into:
's3://files.production'
and 'object/Image/110/image.jpg'
.
I am wondering if there is any convenient way to do it.
For example, I have a string as:
str = 's3://files.production/object/Image/110/image.jpg'
and I would like to split it into:
's3://files.production'
and 'object/Image/110/image.jpg'
.
I am wondering if there is any convenient way to do it.