using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Soft
{
class Program
{
static void Main(string[] args)
{
var phrase = "\"ogin\":\"RED\",\"foto_i\",\"ogin\":\"GREEN\",\"foto_i\",\"ogin\":\"BLUE\",\"foto_i\"" +
",\"foto_i\",\"ogin\":\"BLUE\",\"foto_i\"";
var split = phrase.Split(new[] { "\"ogin\":", ",\"foto_i\"", "," }, StringSplitOptions.RemoveEmptyEntries);
Console.WriteLine(string.Join(", ", split));
}
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKdXNpbmcgU3lzdGVtLkxpbnE7CnVzaW5nIFN5c3RlbS5UZXh0OwoKbmFtZXNwYWNlIFNvZnQKewogICAgY2xhc3MgUHJvZ3JhbQogICAgewogICAgICAgIHN0YXRpYyB2b2lkIE1haW4oc3RyaW5nW10gYXJncykKICAgICAgICB7CiAgICAgICAgICAgIHZhciBwaHJhc2UgPSAiXCJvZ2luXCI6XCJSRURcIixcImZvdG9faVwiLFwib2dpblwiOlwiR1JFRU5cIixcImZvdG9faVwiLFwib2dpblwiOlwiQkxVRVwiLFwiZm90b19pXCIiICsKICAgICAgICAgICAgICAgICAgICAgICAgICIsXCJmb3RvX2lcIixcIm9naW5cIjpcIkJMVUVcIixcImZvdG9faVwiIjsKICAgICAgICAgICAgdmFyIHNwbGl0ID0gcGhyYXNlLlNwbGl0KG5ld1tdIHsgIlwib2dpblwiOiIsICIsXCJmb3RvX2lcIiIsICIsIiB9LCBTdHJpbmdTcGxpdE9wdGlvbnMuUmVtb3ZlRW1wdHlFbnRyaWVzKTsKICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoc3RyaW5nLkpvaW4oIiwgIiwgc3BsaXQpKTsKICAgICAgICB9CiAgICB9Cn0K