I have a variable with values like
30S, 2H, 5D
where S,H and D stands for Seconds, Hours and Days.
I want to extract "S/H/D"
from the variable and convert into the time period - string "Seconds/Hours/Days"
.
Is there any builtin methods that I can use to resolve above issue.