jawapro Posted January 5, 2007 Share Posted January 5, 2007 G'day,I'm sure this has been asked - but I couldnt find it here (or even on the net).What I want is a way to strip the first 3 characters in a php string.Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/32931-solved-strip-first-3-characters-in-php-string/ Share on other sites More sharing options...
fert Posted January 5, 2007 Share Posted January 5, 2007 [code]$text=substr($text,2);[/code] Link to comment https://forums.phpfreaks.com/topic/32931-solved-strip-first-3-characters-in-php-string/#findComment-153336 Share on other sites More sharing options...
jawapro Posted January 5, 2007 Author Share Posted January 5, 2007 Thanks muchly - I knew it was something simple - but I couldnt remember it.Thanks. ;D Link to comment https://forums.phpfreaks.com/topic/32931-solved-strip-first-3-characters-in-php-string/#findComment-153337 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.