I am using ltrim function. I run this code :
echo ltrim("looooooooooooooooooooooooongWord","long");
i expect to get this word : looooooooooooooooooooooooongWord
but it prints Word
.
what's the problem ?
Edit: I thought it remove the word long, but it appears it remove the l,o,n,g characters !