when i dig into your code. I notice you are using this from your code to replace the subindex to normal letter.
-> really nice and blown my mind.
n-> cat(op(0,n), op(n))
i must admit the complexity of this long command is out of my ability as a newbee.
could you please explain why patindex(anything), n-> cat(op(0,n), op(n) can do such replace?
I would also hope you can recommand some links for me to learn those parttern match replacement, which is extremely useful.
(I checked the help but not geting straightforward answer)
thank you for providing such good solutions and open a new door for newbees like me.