sotusotusotu Posted September 27, 2007 Share Posted September 27, 2007 Hey, I can't seem to remember how to take the first 3 letters of a string. Does know the name to format this please? Quote Link to comment https://forums.phpfreaks.com/topic/70948-solved-first-3-letters-of-a-string/ Share on other sites More sharing options...
emehrkay Posted September 27, 2007 Share Posted September 27, 2007 sub_str i belive sub_str($string, 0, 2); Quote Link to comment https://forums.phpfreaks.com/topic/70948-solved-first-3-letters-of-a-string/#findComment-356677 Share on other sites More sharing options...
sotusotusotu Posted September 27, 2007 Author Share Posted September 27, 2007 Thanks mate Quote Link to comment https://forums.phpfreaks.com/topic/70948-solved-first-3-letters-of-a-string/#findComment-356681 Share on other sites More sharing options...
bhavin12300 Posted November 20, 2009 Share Posted November 20, 2009 thanks this helped me as well. Quote Link to comment https://forums.phpfreaks.com/topic/70948-solved-first-3-letters-of-a-string/#findComment-961736 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.