mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Updated strto_AZaz0-9 function
This commit is contained in:
@@ -410,10 +410,10 @@ function getDomainExpirationDate($name){
|
|||||||
|
|
||||||
|
|
||||||
function strto_AZaz09($string){
|
function strto_AZaz09($string){
|
||||||
$string = strtolower($string);
|
$string = ucwords(strtolower($string));
|
||||||
|
|
||||||
// Gets rid of spaces
|
// Replace spaces with _
|
||||||
$strto_AZaz09 = preg_replace('/\s/', '', $string);
|
//$string = str_replace(' ', '_', $string);
|
||||||
|
|
||||||
// Gets rid of non-alphanumerics
|
// Gets rid of non-alphanumerics
|
||||||
$strto_AZaz09 = preg_replace( '/[^A-Za-z0-9_]/', '', $string );
|
$strto_AZaz09 = preg_replace( '/[^A-Za-z0-9_]/', '', $string );
|
||||||
|
|||||||
Reference in New Issue
Block a user