This is a function to trim a string by removing the first and last character, it's used to trim quotation marks used in the parameter input
Useful links