using java string functions to slice verbs