search for: fdahsdfcha

Displaying 1 result from an estimated 1 matches for "fdahsdfcha".

2011 Jul 07
1
Working with string
Hi there, I have to extract some relevant portion from a defined string, which is a mix of numeric and character. However this has following sequence: Some String - Some numerical - "c/C" (or "p/P") - then again some set of numbers. Examples of such string is "fdahsdfcha163517253c463278643" or "fdahsdfcha163517253C463278643" or "fdahsdfcha163517253P463278643", "fdahsdfcha163517253p463278643" etc. I have tried using latest stringr package to accomplice that. Here is my try: > library(stringr) > str_extract("fdah...