10 Replies Latest reply on Nov 26, 2007 5:29 AM by 807603

    Change value of string within an array?

    807603
      Alright, so im trying to change "hello" to "Aello", there fore im changing the first letter of the string to an "A". This string is within an array:

      This is what i have:

      System.out.println ((char)split[1].charAt(0))='a');

      but im getting an error