Added substringBefore string util