Splitting out where string processing to prepare for Select stmt generation.