Another example is modify from Advanced Linux Programming chapter 11.We can get a sub-sting without the occurrence with sub two pointer.
Ref:
1. http://www.cplusplus.com/reference/cstring/strrchr/
2. Advanced Linux Programming by Mark Mitchell, Jeffrey Oldham, and Alex Samuel www.newriders.com
沒有留言:
張貼留言