Displaying 1 result from an estimated 1 matches for "test_01".
Did you mean:
test01
2009 Jan 17
2
splitting a string / finding a numeric value within a string
Hi,
I have this variable;
x <- c("test_01.log")
and I want to extract the number (01) out of the variable.
So that I get;
> x
[1] 1
I tried strsplit, but I don't know how to refer to the result.
Can someone help me with that?
[[alternative HTML version deleted]]