ExtractElementByIdFromString(HTMLString, IdString)
ExtractDiv test Apples and oranges
- Äpfel
- Birnen
Men and women
Here is what the above code is Doing:
1. Create a new instance of the ExtractDiv class.
2. Load the HTML code into the instance.
3. Extract the div with the id “main” and print it.
The output should be:
- Äpfel
- Birnen