Is there a way to transform user input string into objects when given an array of strings?
["code:213123", "code:213123", "code:213123"]
I am looking to convert this array into an array of objects with the following format:
[{code: "213123"},...]