to split :str :sep output parse map [ifelse ? = :sep ["| |] [?]] :str end