If I have a string, such as
This is a website, it is at
http://www.abc.com/post_id?id=123&key=456
, please visit it and let me know. Thanks
How to parse this string in Lua, so I can obtain three substrings:
String 1 - the texts before the http(s) url
String 2 - http(s) url itself (with all parameters)
String 3 - the texts after http(s) url
Please note that there might be no space before "http". Thanks.