I have this string stored in a variable:
IN=\"bla@some.com;john@home.com\"
Now I would like to split the strings by ; delimite
;
Without setting the IFS
If you just have one colon you can do that:
a="foo:bar" b=${a%:*} c=${a##*:}
you will get:
b = foo c = bar