Strings in Batch tend to be difficult to handle, especially for newer programmers. That is why many people use external plugins to avoid the hassle. This plugin created by KVC extracts the string surrounded by given characters in batch with ease.
Author: Kvc
Call StrSurr [Surrounding Chars] [String]
Example:
StrSurr "[]" "Hello [Kvc], how are you?"
Here, in the example given below we have ectracted string between '<' and '>'.