Convect a string in URL compatible format .
App::Utility()->text2normalize(String);
Parameter |
Description |
---|---|
String |
String to convect |
See bellow example:
$String = 'Lorem ipsum dolor sit amet';
$rgb = App::Utility()->text2normalize($String);
pr($rgb);
/*
Return
lorem-ipsum-dolor-sit-amet
*/