PROCEDURE SimChars PARAMETERS tcString LOCAL lcLetter, i, llRetVal lcLetter = LEFT( tcString, 1 ) i = 0 llRetVal = .F. FOR i = 2 TO LEN( tcString ) IF SUBSTR( tcString, i, 1 ) = lcLetter llRetVal = .T. EXIT ENDIF lcLetter = SUBSTR( tcString, i, 1 ) ENDFOR RETURN llRetValAll is the same, except false became true, and true became false :[