Hi David
I need to isolate the fisrt letter of merchand name for database request or sometime the second or the third one.
For exemple Merchand piximania I need to highlight just the firt letter Piximania --> p
For ID merchand of my feed, I need to isolate the second letter
834 --> 2
In php code how could we build a function like excel function to respond to my need ?
Best regard
David
If you does not exist, we should have to design.
Big thank you
Guillaume
Hello,
You can use substr() to get any letter of a value. For example...
substr($myString,0,1)
...will return the first letter, or...
substr($myString,1,1)
Cheers,
David.