cName = "Smith, Robert" nComma = AT( ",", cName ) cFlipName = SUBSTR( cName, nComma + 1 ) + " " + SUBSTR( cName, 1, nComma - 1 )