Results 1 to 2 of 2
- 03-31-2012, 09:05 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 18
- Rep Power
- 0
- 03-31-2012, 09:41 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
Re: Comparing 2D string array with 1D string array
Are you trying to compare Strings for equality? If so, don't use the == operator but use the equals( ... ) method instead. Read the API documentation why.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
Intaking String and splitting into chars, returning individual chars as string array
By Gokul138 in forum New To JavaReplies: 1Last Post: 02-07-2011, 08:22 PM -
Changing a String array into a String?
By BennyJass in forum New To JavaReplies: 6Last Post: 01-16-2011, 02:42 PM -
create a 2d char array from a 1D string array
By jschmall12 in forum New To JavaReplies: 1Last Post: 04-27-2010, 09:01 PM -
Convert Char Array to String Array
By Mayur in forum New To JavaReplies: 8Last Post: 10-12-2009, 11:41 AM -
I can't seem to pass the value of a string variable into a string array
By mathias in forum Java AppletsReplies: 1Last Post: 08-03-2007, 10:52 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks