najubudeen Posted September 30, 2014 Share Posted September 30, 2014 hi, i have a #e48f8f hex color value. I want to remove hash symbol from the hex color value. how do i do that in php? Link to comment Share on other sites More sharing options...
niche Posted September 30, 2014 Share Posted September 30, 2014 (edited) substr() http://www.w3schools.com/php/func_string_substr.asp EDIT: There's a number of other ways: http://www.w3schools.com/php/php_ref_string.asp Edited September 30, 2014 by niche Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now