[Solved] Get specific data from a string? C#


I solved it!!

Thank your comments and suggestions..I’ll improve the way I question.. HAHAH
I hope you guys and gals get the logic. Quite simple 🙂

        string group = "|17|11|05|";
        string[] words = group.Split('|');
        foreach (string word in words) {
            if (word.ToString() != "") {
                string cg = word;
            }
        }

1

solved Get specific data from a string? C#