Extracting Content of Template Parts Using `S.templateLiteral`
Is there any way to use
S.templateLiteral to extract the content of template parts? For example, if I have S.templateLiteral(S.literal('some-prefix'), S.string, S.literal('some-suffix')), which is made of 3 parts, I would like to be able to access the value at index 1. Obviously this can be done in other ways, but it seems like templateLiteral is already doing the work, so why repeat it?