@garritfra what does line start as? Chars are also not always what you expect so iterating across them may explode if a line contains non-ascii characters. Since it appears you’re consuming parts of a String to get op and value perhaps it makes sense to use &str slices directly and make a String for each value from those?