Example #1
0
        // pnyx -e=documentation pncs.cmd.examples.documentation.library.ExampleRow orShim
        public static void orShim()
        {
            const String input = @"Line one,a,,c
Line two,a,b,c
Line three,,,c
";

            using (Pnyx p = new Pnyx())
            {
                p.readString(input);
                p.parseCsv();
                p.hasLine();
                p.writeStdout();
            }
            // outputs:
            // "Line one",a,,c
            // "Line two",a,b,c
            // "Line three",,,c
        }