- I need to cut a string (e.g. $sentence) into two parts; I call the first $alpha and the second $beta.
- I cannot use explode, because I would like to split the string only aftter the first occurence of the needed value ($alpha) included within 'separator' "/", and don't want to have an array with more than 2 items.
- Further more, I need the 'separators', n occurences, included (and not removed) in the $beta string.
- the length of $alpha and $beta is not known in advance and variable.
$sentence = "/iamhungry/pleasegiveme/frenchfries/"