This is a java code for android. I'm trying to convert this to windows c#. I tried using split but I don't know how to go to the next element.
StringTokenizer st = new StringTokenizer(source, "><");
String marker = st.nextToken();
while(st.hasMoreTokens())
{
nameLoop:
if(marker.equals("Name:"))
{
while(st.hasMoreTokens())
{
(marker.equals("strong"))
{
marker = st.nextToken();
while(!(marker.equals("/strong")))
{
Name = marker;
marker = st.nextToken();
}
break nameLoop;
}
marker = st.nextToken();
}
}
else
marker = st.nextToken();
}