Hi, I don't know what I am doing wrong to the toupper does not seem
working in sub + regex.  The following returns 's' not the upper class
'S' as I expect:
 
sub("q_([a-z])[a-zA-Z]*",toupper('\\1'),"q_sviRaw")
 
Can someone tell me where I did wrong?
 
Thanks,
Richard

	[[alternative HTML version deleted]]


