I have a variable which can send me data like:-
thumb_8_2393_Shades 1.jpg, hanger-cloth.jpg & Red-Lehenga-1.jpg;
Now, when the value will have 'thumb_' at the left side, I want to discard the 'thumb_' string from the full value.
So I wrote this code:-
$pImgBig = trim($pI['image'],'thumb');
What the issue I am facing is, it is also removing the 'h' from the 'hanger-cloth.jpg'.
How can I overcome this issue?
$filename=str_replace('thumb_','',$filename);?