Displaying 1 result from an estimated 1 matches for "text_result".
Did you mean:
test_result
2013 Feb 06
2
Omitting repeated occurrence in a string
Hello again,
I was looking for some way on How to delete repeated appearance in a
String. Let say I have following string:
Text <- "ahsgdvasgAbcabcsdahj"
Here you see "Abc" appears twice. But I want to keep only 1
occurrence. Therefore I need that:
Text_result <- "ahsgdvasgAbcsdahj" (i.e. the first one).
Can somebody help me if it is possible using some R function?
Thanks and regards,