I basically want to say if character at slot 2 has something there or if character at slot 3 has somethin g there then the statement is valid.
if(partOnePC.charAt(2) != NULL || partOnePC.charAt(3) != NULL)
{
}
Thanks in advance, Tom
Printable View
I basically want to say if character at slot 2 has something there or if character at slot 3 has somethin g there then the statement is valid.
if(partOnePC.charAt(2) != NULL || partOnePC.charAt(3) != NULL)
{
}
Thanks in advance, Tom
pos.2 or 3 will include a range between 1 ... 255 (0x01 .. 0xFF)Code java:if (partOnePC != null && (partOnePC.charAt(2) > 0 || partOnePC.charAt(3) > 0))
Thanks mate, this really did help a lot!