Results 1 to 4 of 4

Thread: string manipulation [RESOLVED]

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004

    string manipulation [RESOLVED]

    What is the difference between the & and + when combining strings?
    Last edited by Darkwraith; Feb 25th, 2004 at 10:37 AM.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Luton, UK
    Posts
    178
    You should always use & for strings, + for numbers.
    Regards
    BrianB
    -------------------------------

  3. #3
    Junior Member Shattered's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    26
    not much when combining text strings - the only time you'll notice the difference is when you add two numbers together

    1 & 1 = 11
    1 + 1 = 2
    "much to learn you still have"

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Sorry for getting around to this sooner. I wanted the thread to kick around a bit.

    Thank you for all the input. You all have been very helpful.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

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