Bit of a random issue, but has anyone else had to ...
# suitescript
s
Bit of a random issue, but has anyone else had to work around issues related to '>' symbols in strings in server side SuiteScript? When I get a string from a NS record with a > in it, I can't use javascript's string spilt method to split by >. Seems like some character encoding issue.
b
Could actually be >
s
Yup, it is!
That's really strange...
You can't easily tell even when logging the string
Found out by checking the length of the string and it was 3 characters longer than expected.
b
Has to do with how you are viewing logs via a browser that uses the same escape
s
Even if you look at the html source of the log, it doesn't show the > as > -- I would have at least expected that.
thanks for the help
problem solved 🙂