ap_trim_traling_space( string $contents )
Description #
Remove white space from string.
Parameters #
- $contentsstring (Required) String.
Source #
File: includes/functions.php
function ap_trim_traling_space( $contents ) { $contents = preg_replace( '#(^( |\s)+|( |\s)+$)#', '', $contents ); return $contents; }
Expand full source code Collapse full source code View on GitHub: includes/functions.php:891
Add your comment