Thanks, but it didn't seem to work.
Bit more info: when I print the args list out in my function, here's what I get for each input:
For a normal character (e.g., '('):
For a quote character:
For a space character (also something I want to be able to catch):
Hope that gives you some idea...