Hi
What code would i use to take the first 2 letters of a post code so for example
CM11 2AY
I want the CM bit what command would strip the first 2 characters out?
Thanks
Get just 2 characters
Moderator: General Moderators
Re: Get just 2 characters
thanks very much people i worked it out in the end but really good thanks.
Whatis the best command for srtipping out the numbers if any are included?
Whatis the best command for srtipping out the numbers if any are included?
Re: Get just 2 characters
These are things you can easily learn about from the PHP manual or references like this:
http://www.w3schools.com/php/php_ref_string.asp
http://www.w3schools.com/php/php_ref_string.asp