I have a string something like aa/bb/cc/dd/55/44
. Now I converted it into array using explode function.
explode("/","aa/bb/cc/dd/55/44");
Here, I want to always get the string after dd
. String is dynamic i.e. dd
can come in any position, but immediately after dd
i want to get the string i.e. 55
. How can I achieve it using PHP ?