Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart strip html

import 'package:html/parser.dart';


//here goes the function 
String _parseHtmlString(String htmlString) {
final document = parse(htmlString);
final String parsedString = parse(document.body.text).documentElement.text;

return parsedString;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dart #strip #html
ADD COMMENT
Topic
Name
1+8 =