Let's say we have this string: `SIC0575(1, 2)`

`SIC0575` length = 7, but it could dynamically change, so let's assume length = N

`(1, 2)` let's assume (0~9, 0~9)

I would like to create substrings from this string.

Desired result:

`val1 = SIC0575`

`val2 = 1`

`val3 = 2`

I am not familiar with Python, I would like to know which is the most elegant/pythonic way to achieve that. Is there any built-in function to do that?

What I've tried (it works, but it's not elegant at all):

```
        data = "SIC0575(1, 2)"
        aux = data.split("(")
        val1 = aux[0]
        aux2 = aux[1].split(",")
        val2 = aux2[0]
        val3 = aux2[1][:-1]

```