2021年4月29日星期四

Javascript: How to parse data from this string [duplicate]

I have the following string returned from a server:

{"href":"about:blank#&executeFunction<-finishedStroke&&arguments<-{\"base64DataUrl\":\"data:image/png;base64,iVBORw0KGgoAAErkJggg==\"}&"}  

I want to extract data:image/png;base64,iVBORw0KGgoAAErkJggg== (the base64DataURL part) from it. What's the best way to do this with Javascript?

Please note that this is not the same as this question

https://stackoverflow.com/questions/67327602/javascript-how-to-parse-data-from-this-string April 30, 2021 at 10:52AM

没有评论:

发表评论