some validation in substringBefore()