devolve_absolve wrote in php 😉optimistic

Listens: Muse - Blackout

Just a small question. I've been scouring the manuals, but I have not seen this yet. I do have the impression it is possible.

Is there a way to take a string and break it up into parts? Say, for example, the string "123abc45defghi", can I then break it up into "123", "abc", "45", "defghi", taking 3, then 3, then 2, then 5 from the string and creating new variables?