Hey WP,
My standard solution in such cases is the fasthtmlparser of FCL. Search the forum, I presented worked-out solutions here several times already. The basic idea is that this parser runs through the text and fires an event OnFoundTag for every tag (part between '<' and '>') and OnFoundText for every text (part between '>' and '<'). Super easy to extract text or table content, but maybe a bit overkill for such a short text phrase as requested here...
Ooooooohhhhh, I'm always in the looks for a fine HTML parser lib. I don't think I've stumbled on this one!!!
Thanks WP, I'll have a search for your posts!!!
And yeah, a bit overkill since one file is ~6MB and the other file is ~33MB. Having events fired for each tag and text, OUCH
These are the Emoji lists that I mentioned in another post.
I'm trying to extract info from them and I'm gonna put them in a JSON container, maybe...
Still need to suss out how I'm gonna include such big datasets in my EmojiMap application.
Will need to see how
phat is the JSON that I'll extract and if not that big, maybe just add it as a Resource.
Nonetheless, many thanks for another approach!!
C'mon my fellow Pascalites, keep'em coming
Cheers,
Gus