[R] about string

XinMeng xmeng at capitalbio.com
Tue Jun 6 10:40:15 CEST 2006


Hello sir:
There are 2 questions about string.
1 How to calculate the width of a string? e.g string "abc"'s width is 3;
2 How can I get the "substring" in such kind of condition:
  "f:\\JPCS_signal.txt"  "f:\\PC1_signal.txt" "f:\\PC2_signal.txt"
 What I wanna get is "JPCS"  "PC1"  "PC2".How can I achieve them by R cammand?

Thanks a lot!

My best




------------------------------
*******************************************
Xin Meng 
Capitalbio Corporation
National Engineering Research Center 
for Beijing Biochip Technology 
BioPharma-informatics & Software Dept. 
Research Engineer
Tel: +86-10-80715888/80726868-6438
Fax: +86-10-80726790
Email£ºxmeng at capitalbio.com 
Address:18 Life Science Parkway, 
Changping District, Beijing 102206, China



More information about the R-help mailing list