[PHP] SeparatingWords

2002-08-21 Thread Hessu
Hi, I have strings like FileName, SoftwareVersion etc. How can I add space between words? Somehow with preg_replace perhaps? First letter of each word is capitalized. -Hessu- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sort multidimensional array using Natural-Order

2002-08-18 Thread Hessu
n Natural-Order. Array_multisort(filelist[0]),SORT_ASC,$filelist[1]) don't sort in Natural-Order usort($filelist[0],"strnatcmp"); Sorts only filenames, any ideas how to get dates also sorted? -Hessu- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sort multidimensional array using Natural-Order

2002-08-18 Thread Hessu
in Natural-Order. Array_multisort(filelist[0]),SORT_ASC,$filelist[1]) don't sort in Natural-Order usort($filelist[0],"strnatcmp"); Sorts only filenames, any ideas how to get dates also sorted? -Hessu- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sort multidimensional array using Natural-Order

2002-08-18 Thread Hessu
n Natural-Order. Array_multisort(filelist[0]),SORT_ASC,$filelist[1]) don't sort in Natural-Order usort($filelist[0],"strnatcmp"); Sorts only filenames, any ideas how to get dates also sorted? -Hessu- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php