Results 1 to 30 of 30

Thread: separate string into halves?Can i?

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member PlaGuE's Avatar
    Join Date
    Jun 2005
    Location
    in ur mind.
    Posts
    445

    separate string into halves?Can i?

    I have a script which generates a a random assortment of numbers and letters.
    For use with a signup script.


    Now what im trying to do is separate the string and return it with "-"

    it could look sumtin like :
    randomly generated : 1234123456abcd

    Output : 1234-123456-abcd

    now i know i prolly could just 3 separate functions... but i dunt wana...

    lol.
    Last edited by PlaGuE; Sep 27th, 2005 at 08:53 PM.
    Without balance, there could only be chaos.
    Without chaos, there could be no balance.
    I live with karma. Eat with destiny. Dream of life without shackles....
    Yet. If life had no consequences, life could not exist, nor could it flourish.


    If at first you dont succeed.You're screwed.

    C++/Java NOOB.

    I aint a professional at PHP, but if i can help i will.

Posting Permissions

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



Click Here to Expand Forum to Full Width