Search:

Type: Posts; User: bgroenks96

Search: Search took 0.18 seconds.

  1. Replies
    10
    Views
    1,757

    [SOLVED] Re: Define a String as multiple things

    My original mentality was to just define the String as both "Bob" and "bob" (example). I wasn't aware that there was an equalsIgnoreCase function. That works much better for what I'm looking for.
  2. Replies
    10
    Views
    1,757

    [SOLVED] Re: Define a String as multiple things

    Thank you! That is exactly what I needed!
  3. Replies
    10
    Views
    1,757

    [SOLVED] Re: Define a String as multiple things

    I simply want to define one String variable as multiple things.

    For instance: String bigString = "WooHoo" and "HooWoo"
    Specifically what I'm looking for is this: String side = "One" AND "one"...
  4. Replies
    10
    Views
    1,757

    [SOLVED] Define a String as multiple things

    How do you define a single String variable as multiple things?

    i.e.
    String name = "Bob" and "Frank"

    I have tried the following:
    String name = "Bob", "Frank";
    String name = "Bob" || "Frank";...
Results 1 to 4 of 4