change cast string
change implementation of starts/endsWith similar to lodash
refactoring ternary
Merge pull request #347 from stoeffel/perf-with

Performance improvement of starts/endsWith