I need to get characters after a specific character match in a string. Please consider my input line with the expected result character set.
Line example
*This is a string *with more than *one blocks *of values.
Result string
Twoo
I did it
string[] SubIndex = aut.TagValue.Split('*');
string SubInd = "";
foreach (var a in SubIndex)
{
SubInd = SubInd + a.Substring(0,1);
}
Any help on this would be appreciated.
thank
source
share