B4X:
Dim st As String = $"
<div class="col-9 ml-auto text-right p-0">
<span id="allPopulation" class=" allPopulation number-lg">32.519</span>
</div>
"$
Dim parser As MiniHtmlParser
parser.Initialize
Dim root As HtmlNode = parser.Parse(st)
Dim listgroup As HtmlNode = parser.FindNode(root, "div", parser.CreateHtmlAttribute("class", "col-9 ml-auto text-right p-0"))
If listgroup.IsInitialized Then
Dim span1 As HtmlNode = parser.FindNode(listgroup, "span", Null)
Log(parser.GetAttributeValue(span1, "class", ""))
End If
Hello. How can I get this value? >>> 32.519
I get this in the code above. >>> allPopulation number-lg
thanks..
32.519