Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,964

    [SOLVED] Re: Replace String Method? Noobie :/

    Once you replace the first word with the last word, there are now two "last" words in the String.
    You may have to do the same trick you use when you are swapping items in an array.

    Something...
  2. Replies
    7
    Views
    1,964

    [SOLVED] Re: Replace String Method? Noobie :/

    Where did you print out the values of word and lastword for debugging?
    Also print out the values of the first and last variables to see what your code is doing.
  3. Replies
    7
    Views
    1,964

    [SOLVED] Re: Replace String Method? Noobie :/

    For debugging you should print out the values of word and lastword so you can see what the code is doing.
Results 1 to 3 of 3