On 18-Oct-10 15:03:22, Henrique Dallazuanna wrote:
> See agrep function:
>
> agrep("Frozen Niagara Entrance", "001a Frozen Niagara Entrance") > 0
>
> To remove the numbers:
>
> gsub("\\d", "", "001a Frozen Niagara Entrance")
That results in "a Frozen Niagara Entrance", which is not
what he said
On 18-Oct-10 14:58:05, kurt_h...@nps.gov wrote:
> Greetings
> I want to remove numbers from a string of characters that
> identify sites so that I can merge two data frames.
> For example, a site in one frame is called
> "001a Frozen Niagara Entrance" whereas the same site
> in the other data frame
See agrep function:
agrep("Frozen Niagara Entrance", "001a Frozen Niagara Entrance") > 0
To remove the numbers:
gsub("\\d", "", "001a Frozen Niagara Entrance")
On Mon, Oct 18, 2010 at 12:58 PM, wrote:
> Greetings
> I want to remove numbers from a string of characters that identify
> si
Greetings
I want to remove numbers from a string of characters that identify
sites so that I can merge two data frames. For example, a site in one
frame is called "001a Frozen Niagara Entrance" whereas the same site in
the other data frame is called "Frozen Niagara Entrance". It seems to m
4 matches
Mail list logo