Displaying 1 result from an estimated 1 matches for "mystringvector".
2005 Jan 21
2
gsub pattern?
...mation that
the line below replace all AUTO string's like AUTOBAHN
,AUTORENNEN with 1 but nothing happend.
Using the [] in the pattern it works like i'm expected, but i didn't
want single character replacment. Where is my mistake?
bcode <- gsub("/^AUTO.*/","1",MyStringVector,ignore.case=T,extended=T)
many thanks & regards,
christian