Striping strings so Jflap can parse