Implement ISLE for strings and numbers