fork download
  1. using static System.Console;
  2. using System;
  3.  
  4. public class Program {
  5. public static void Main() {
  6. var texto = "'Coluna 1' 'Coluna 2' 'Coluna 3'";
  7. texto = texto.Substring(1, texto.Length - 2);
  8. var items = texto.Split(new string[] {"' '"}, StringSplitOptions.None);
  9. foreach (var item in items) WriteLine(item);
  10. }
  11. }
  12.  
  13. //https://pt.stackoverflow.com/q/167885/101
Success #stdin #stdout 0.02s 16000KB
stdin
Standard input is empty
stdout
Coluna 1
Coluna 2
Coluna 3