My online tech scrapbook where I keep my notes in case I need to look them up later
Wednesday, April 22, 2015
C++: Find string within a string
There is a string::find function that is pretty straightforward to use. The key thing to note here is that when it's not found the return value is "string::npos".
No comments:
Post a Comment