add StartsWith option and change subst to <>