How do i remove the brackets from a string that looks like this:

[anything inside here]

??

I would like to do it in one line of code