[snip] Then you should change the name of the field. Seriously, what do you expect the script to do, exactly? and once you know the answer, what would you do to achieve that? Put that (emphasis to the second question) in words and someone might be able to help you. [/snip] I expect that I can take a string, like 'psFirstName' and change it to 'First Name'. that way I don't have to worry about what some web designer named his fields, I can turn them into human readable strings without having to manually create a new array. So far I have this $newKey = preg_split("/([A-Z])/", substr($key, 2), -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); Which returns; Array ( [0] => F [1] => irst [2] => N [3] => ame ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php