Parsing Strings with Multiple Delimiters in Swift
March 16, 2022
I have a specification at work that says my software needs to see a URL like this: https://blog.rectorsquid.com/derf?test={id}&test2={data} and then open the URL as if it were something like this: https://blog.rectorsquid.com/derf?test=12345&test2=hellothere I first wrote some code that would split the input using the open curly brace as a…
Continue reading