Hello.
I’m struggling to filter this string:
s = '\<?xml version="1.0" encoding="utf-8"?\>'
I need to check if encoding is utf-8 or not.
I tried string.match, string.find, string.gsub, all returned nil.
can someone help me build the right line? or even better a good place to learn string manipulation. corona docs sucks in this department.
thanks,
Carlos.
