I managed to get earlier problem fixed but how about detecting if there is an / in it or not instead of stripping it out?

I was thinking about $istok function but the help file only guided me for normal text strings and not special characters.

//echo -a $istok(some/text/with/many/in/it,/,32)

Only returned $false

changing 32 in to 47 didn't helped me either