shahin
Active Member
Is it possible to make the two long strings (one contains Html document, another contains json data) fit within two variable "str" and "json_str" so that I can use them for practice? I tried with single quote, double quote and triple quote but that didn't work. Every time when I try to put those strings within the two variables I get errors. How can I fit them?
Erroneous approach:
Any help to fix this will be highly appreciated.
Erroneous approach:
Code:
Sub Demo()
str = <h3><a href="/questions/" class="question">when used in a UDF</a></h3>
json_str = {"totalCount":431,"messages":[],"results":[{"aliasList":["User Id","Name","last name"],"results":[[71512,"joe","adams"],[23445,"jack","wilson"],[34566,jill,goodman]],"executionDate":151134568428}],"Class":"com.zoho.controlpanel.reports.ReportsItemVO"}
End Sub
Any help to fix this will be highly appreciated.