Would you want to use startswith method of StringUtil here, instead of manually comparing index to be 0 ?