I have a string named group.
string group="|17|11|";
So my issue is that I want my output to be something like this:
17
11
so these 2 numbers should be stored in the database as two records. and another case if the
string group = "|17|11|05|";
it will store 3 values in the database. The number of groups always differs in different strings it can be 1 or many.
17
11
05
the database structure is like this:
id, group
Thanks. Hope to hear from you guys soon.