Displaying 1 result from an estimated 1 matches for "v_11_101110_v".
2009 Nov 16
2
on gsub (simple, but not to me!) sintax
...y ignorance on regular expressions.
a matter I recently discovered.
Consider the following
foo <-
c("V_7_101110_V", "V_7_101110_V", "V_9_101110_V", "V_9_101110_V",
"V_9_s101110_V", "V_9_101110_V", "V_9_101110_V", "V_11_101110_V",
"V_11_101110_V", "V_11_101110_V", "V_11_101110_V", "V_11_101110_V",
"V_17_101110_V", "V_17_101110_V")
what I'm trying to obtain is to add a zero in front of numbers below 10,
as in
c("V_07_101110_V", "V_07_1011...