How to split a string into separate values

I need help with splitting parts of a string value into separate values.
For example, my string has a value A13-5.
I’d like to extract two separate values from that.
Value_1 = 13
Value_2 = 5
Or if I should write the string differently to achieve the same goal, like 1305A.

if you have a separator in you string it would be easier

example:

string = "A-13-5"
out = string.split("-")

# the result is out = ["A","13","5"]

# and to covert to integer

value1 = int(out[1])
value2 = int(out[2])  

This video might help you:

Thank you, it works exactly as I needed it.

Not exactly what I needed, but very useful.