How to remove unwanted characters from integers

Jacob Fulton's icon

Hello, I recently created a program that allows me to control resolume with ableton however the input is quite messy and I wanted to simplify it, however if I wanted to have an input of 1/6 and break that up into the integers of 1 and 6 I would have to put a space in the middle and zl filter out the / which still looks a bit messy. I was wondering if there was a way to format it like 1/6 and still be able to remove the / and get the 2 integers. Thanks

Florent Ghys's icon

check out the objects fromsymbol and tosymbol with "@separator /"

Jacob Fulton's icon

here is where I am now, I want the last 2 message boxes to read 5/5 when the top one is clicked

New issue if I were to give it multiple options it only separates and passes on the first, so if I were to give it 1/1 and 2/2 it would only pass on the 1/1 any work arounds cause I am stumped

Florent Ghys's icon

your first message is a list of 2 elements and you need to break it in two

Max Patch
Copy patch and select New From Clipboard in Max.