cAlpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" nStartPos = at( left( chrtran( pcStr, chrtran( pcStr, cAlpha, '' ), '' ), 1 ), pcStr ) nEndPos = rat( right( chrtran( pcStr, chrtran( pcStr, cAlpha, '' ), '' ), 1 ), pcStr ) ?substr( pcStr, nStartPos, nEndPos - nStartPos + 1 )Hope it works now