fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. var str = "connectionString=Data Source=SERVER1;Initial Catalog=DATABASE1;Integrated Security=True";
  8. var res = str.Substring(str.IndexOf('=')+1);
  9. Console.WriteLine(res);
  10. }
  11. }
Success #stdin #stdout 0.02s 33856KB
stdin
Standard input is empty
stdout
Data Source=SERVER1;Initial Catalog=DATABASE1;Integrated Security=True