Checking string inside of paranthesis

Hi everyone!

I wanted to check a string inside of parenthesis, but i dont know how, i tried my best! Someone help

Ex: (API from some game)
function entity.setspeed (getstringhere);

Help!
Topic archived. No new replies allowed.