Helpful bits and bytes
<?php $string = 'ThisIsATest'; $result = preg_replace('/(?<=[a-z])[A-Z]/', ' $0', $string); echo $result; //OUTPUTS: This Is A Test ?>
No comments:
Post a Comment