Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Adam最初の、開始位置、終了位置、長さしか取得できません。他の 2 つの Adam をテキストで取得するにはどうすればよいですか?
Adam
text <- c("Hellow, Adam!", "Hi, Adam!", "How are you, Adam.") regexpr("Adam", text)