Search:

Type: Posts; User: Dylan035

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    2,539

    Re: Scrambling a String

    I see what you mean, I think that would work perfectly for what I need.

    Let's say I have

    String word = "bobcat";

    How can I change 'word' from a String to a StringBuilder?

    Could I do:
  2. Replies
    5
    Views
    2,539

    Re: Scrambling a String

    That is exactly what I was thinking. The part where I am running into a problem is this:

    How can I randomly pick a character from a string without picking that same index again? Say I generate a...
  3. Replies
    5
    Views
    2,539

    Scrambling a String

    Hello,

    How can I scramble a given string in a random order?

    for example, apple --> pelap

    I cannot use any arrays.

    Thanks for the help.
Results 1 to 3 of 3