Smoothice Posted May 19, 2007 Share Posted May 19, 2007 I am a complete noob and have been unsucceffuly all day at this. I need to remove the first character of a string. The character is a ".". Any help here would be appreciated. Aaron Quote Link to comment https://forums.phpfreaks.com/topic/52148-need-help-with-a-sting/ Share on other sites More sharing options...
Psycho Posted May 19, 2007 Share Posted May 19, 2007 This will remove the first character from a string. $string = substr($string, 1); Quote Link to comment https://forums.phpfreaks.com/topic/52148-need-help-with-a-sting/#findComment-257220 Share on other sites More sharing options...
Smoothice Posted May 19, 2007 Author Share Posted May 19, 2007 Absolutaly perfect thank you. Quote Link to comment https://forums.phpfreaks.com/topic/52148-need-help-with-a-sting/#findComment-257225 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.