text2normalize

Navigation:  Development > Function Reference > Helpers > Utility >

text2normalize

Previous pageReturn to chapter overviewNext page

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
*/