Displaying 1 result from an estimated 1 matches for "fdahsdfcha163517253p463278643".
Did you mean:
fdahsdfcha163517253c463278643
2011 Jul 07
1
Working with string
...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("fdahsdfcha163517253c463278643", "[c]")
[1] "c"
But it seems that, above code fetchi...