GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need a tool that converts ALL CAPS to First Letter Of Each Word Caps (https://gfy.com/showthread.php?t=675016)

mkx 11-08-2006 07:23 AM

Need a tool that converts ALL CAPS to First Letter Of Each Word Caps
 
Anyone Know Of Anything?

psili 11-08-2006 07:25 AM

If you ran a string through a php script:

$str="SOME STRING BLAH BLAH BLAH";
echo ucfirst(strtolower($str));

???

Yngwie 11-08-2006 07:26 AM

in what exactly? a file name? like PIC.JPG etc..?

if so you can try Princeton File Renamer

who 11-08-2006 07:26 AM

ucwords() php function

Jace 11-08-2006 07:28 AM

just paste the all caps shit into a thread on gfy, it will do it for you

Jace 11-08-2006 07:29 AM

You can even paste it into the quick reply, then hit go advanced, and it will transform it for you

Jace 11-08-2006 07:30 AM

This Was All Caps When I Hit Reply

psili 11-08-2006 07:30 AM

Or paste it into MS Word, hilight the text, Format -> Change Case -> Title Case option.

mkx 11-08-2006 07:34 AM

its in excel, text, line by line.

mkx 11-08-2006 07:35 AM

Thanks, I will try all of those, I think MS Word only shows it in msword and when you copy it to another program it shows the caps again but I will try all these :) Thanks

ObnoxiousBitch 11-08-2006 08:26 AM

If you can avoid using MS Word, do so. Nothing can fuck up text like a Microsoft application. I swear by Textpad (you can get a trial). If you can export the excel file as CSV text, you can do the change case thing in Textpad, and then reimport the entries into a new Excel file.

Sharky01276 11-08-2006 08:45 AM

I could write a program that does this easily,

Would you want it web based?
Where is the text going?

Matiz 11-08-2006 09:13 AM

Try textmagician, it's free

schneemann 11-08-2006 09:18 AM

Quote:

Originally Posted by who (Post 11270247)
ucwords() php function

Good try, but you gotta make sure that there's no punctuation or other characters in the string.

HE SAID HIS NAME WAS "JOHN"
would become
He Said His Name Was "john" because PHP regards " as the beginning of the word.

Take a look at http://us3.php.net/ucwords for some potential fixes.


All times are GMT -7. The time now is 03:42 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123