PHP: Getting part of string after and before given sub-string or character
Easiest way of getting part of string given to its sub-string or character
PHP: Cutting string from left and right
strltrim and strrtrim functions solve string trimming problem

Pages