Answers for "strip string to 20 chars php"

PHP
-1

remove 20 from string in php

//Replace space with %20 for url to understand
$new = str_replace(' ', '%20', $your_string);

//Alternate for URL use, use this
urlencode ( string $str )
Posted by: Guest on July-23-2020

Browse Popular Code Answers by Language