Results 1 to 6 of 6

Thread: Anyone Know An Easy Way To Do This?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,636
    Quote Originally Posted by gaystoryman
    Save it to a word doc, then select all, then under options, choose fonts, then check the Captalize First Letter... then save, then save as text file...



    that'll be $45 as you get the GWW discount.. :honest:
    Hmm.. You must have a different version of Word than i do because i cant find any of that LOL

    Can you hit me up on ICQ babe please

    Regards,

    Lee


  2. #2
    Life is a dick and when itīs get hard---just fuck it... DEVELISH's Avatar
    Join Date
    Jul 2005
    Posts
    2,367
    hi Lee,

    you can take this

    Create a file with this content and name it to some extension your server will process php files.

    PHP Code:
    <?php

    $tmpArr 
    = array();
    $keywordFile "kw.txt";  //name of the file with your words

    $words file ($keywordFile);  //read file into an array

    foreach ($words as $word)    //loop on that array
    {
       
    $tmpArr[] = ucwords(trim($word));  //left&right trim non printable chars then capitalize each word.  The $tmpArr grows dynamically

    }

    foreach (
    $tmpArr as $ucWord)  //loop and output
    {
    echo 
    $ucWord."\n";
    }

    ?>
    You will then see some output where every word is capitalized.

    This was the input in my kw.txt
    hello world
    hello lee
    hello all others on gWW
    output

    Hello World
    Hello Lee
    Hello All Others On GWW
    DEVELISH
    :-D


  3. #3
    Do You Like My Vajeen Kewlaidkiddd's Avatar
    Join Date
    Sep 2004
    Location
    Charlotte, NC
    Posts
    137
    or, just take it to word, highlight everything then go to format and change case, there will be options there
    Chris Baker
    Gay Content Representative
    AEBN
    ICQ: 250268178
    AIM: RavestormEKG
    1-800-628-0241 ext 187
    chrisb@aebn.net


  4. #4
    HammerHead
    Guest
    How about making the text file into a HTML file and then using the text-transform: capitalize property in a style sheet
    Code:
    <html>
    <head>
    	<title></title>
    </head>
    <style>
    pre{
    	text-transform: capitalize;
    }
    </style>
    <body>
    <pre>
    amateur gay porn
    hardcore twink sex
    exclusive porn movies
    xxx rated adult sex
    </pre>
    </body>
    </html>

    In the output, your list will be capitalized and you can just copy it to your clipboard.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •