Specific code from SAS to R : <p>I am trying to write this (SAS) comand in R. x is a variable with this specific format: j61915035t</p>

<p>x1 = trim(upcase(substr(x,1,1)));</p>

<p>I really appreciate what you are doing in this site!</p>
