Updated IsSeperatorChar to use a white-list instead.