search for: hypphen

Displaying 3 results from an estimated 3 matches for "hypphen".

Did you mean: hyphen
2016 Apr 25
3
Please assist -- Unable to remove '-' character from char vector--
..."2011-" "1994-" "2014-" I tried below command--> gsub('[-|,]', '', end) This did remove all the hyphen character but not from cells having range year values.Below is the result after executing above command: As you see hypphen character is removed from single values but not from ranges. Please guide. > gsub('[-|,]', '', end) [1] "2001" "1992" "2013" "2013" "2013" "2013" "2003" [8...
2016 Apr 25
0
Please assist -- Unable to remove '-' character from char vector--
..."1994-" > "2014-" > > I tried below command--> gsub('[-|,]', '', end) > This did remove all the hyphen character but not from cells having > range year values.Below is the result after executing above command: > As you see hypphen character is removed from single values but not > from ranges. Please guide. > >> gsub('[-|,]', '', end) > [1] "2001" "1992" "2013" "2013" > "2013" "2013"...
2016 Apr 25
1
Please assist -- Unable to remove '-' character from char vector--
...ot; >> "2014-" >> >> I tried below command--> gsub('[-|,]', '', end) >> This did remove all the hyphen character but not from cells having >> range year values.Below is the result after executing above command: >> As you see hypphen character is removed from single values but not >> from ranges. Please guide. >> >>> gsub('[-|,]', '', end) >> [1] "2001" "1992" "2013" "2013" >> "2013" &quo...