Displaying 1 result from an estimated 1 matches for "ellthisilo".
2011 Apr 11
1
Getting many substrings but only loading the original string one time.
...> substrings <- vectorized_substr(longerString, startVector, stop Vector)
> longerString
[1] "ell" "ThisI" "lo"
Then I'd like to concatenate them (there will be many of them)
> result <- paste(longerString,collapse='')
> result
[1] "ellThisIlo"
(perhaps the paste command as I've done it is the best way, but depending on
how the substrings are reported there may be different ways). Thanks!
Jonathan
[[alternative HTML version deleted]]