Lets say I have many strings, I know all of the are 3 chars long, but if I want to compare ONLY the 3rd char with the 3rd char of another string how would I do it?
like this:
comparing string1 and string2 should return true, but copmaring string1 and string3 should return false, see what I mean? thanks in advanceCode:string string1 = "c 3"; string string2 = "r 3"; string string3 = "c 4";