accepting hash rocket or space to split query