Precedence of strings