Hi,
I need to get replace all the uppercase characters in a string with a
lowercase character and a '-'
__ie _______________ _______________ _______________ _____
'backgroundColo r' becomes 'background-color'
'borderWidth' becomes 'border-width';
-----------------------------------------------------
in PHP strtolower(ereg _replace("[A-Z]", "-\\0" , $var)); works
but obviously I'm not using php
any help much appreciated
cheers
brendan.
I need to get replace all the uppercase characters in a string with a
lowercase character and a '-'
__ie _______________ _______________ _______________ _____
'backgroundColo r' becomes 'background-color'
'borderWidth' becomes 'border-width';
-----------------------------------------------------
in PHP strtolower(ereg _replace("[A-Z]", "-\\0" , $var)); works
but obviously I'm not using php
any help much appreciated
cheers
brendan.
Comment