ldm
ldm

Reputation: 57

Extract value from string in flutter(dart)

I have a string that is formatted like this:

ABC: title="EXAMPLE-TITLE", url="null", raw.length="28"

is there a way to always extract only the "title" field ? I would not want to use substring.

Thanks

Upvotes: 0

Views: 509

Answers (1)

Aknahseh_tg
Aknahseh_tg

Reputation: 175

You will need to do some kind of parsing, maybe use a map to store your title, url and access it like that.

Upvotes: 1

Related Questions