lcVar1 = "Smith" lcVar2 = "Smi" SET EXACT OFF ?lcVar1 = lcVar2 && T ?lcVar2 = lcVar1 && F ?lcVar1 == lcVar2 && F SET EXACT ON ?lcVar1 = lcVar2 && F ?lcVar2 = lcVar1 && F ?lcVar1 == lcVar2 && F lcVar2 = "Smith " ?lcVar1 = lcVar2 && T ?lcVar2 = lcVar1 && T ?lcVar1 == lcVar2 && FThat is because SET EXACT pads teh shroter string with spaces to be equal in length to the longer string before comparing them. == compares them in the usual way (SET EXACT OFF) and then checks their lengths.