Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

r- grepl to find multiple strings exists

$
0
0
grepl("instance|percentage", labelTest$Text)

will return true if any one of instance or percentage is present.

How will i get true only when both the terms are present.


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>