The reason I'm asking is because I thought group.result(1(or whatever number)) should return a string.
And for some reason, even when I hardcode my if statement, it still doesn't work.
for example System.out.println(group.result(1)) prints out 5
then shouldn't "5" = group.result(1)?
because for some reason when using an if statement and i put that in there, it doesn't work.
like
if(group.result(1) == "5"){
do this
}
it doesn't do this

New Topic/Question
Reply



MultiQuote



|