strstr matching first occurrence in c
Posted
by lex0273
on Stack Overflow
See other posts from Stack Overflow
or by lex0273
Published on 2010-03-30T03:36:58Z
Indexed on
2010/03/30
3:43 UTC
Read the original article
Hit count: 316
I was wondering how could I match the string "just"
in str1
if str1
contains the strings as:
"this is just\2323 a test"
// "just" will always be the same
I'm trying to match it using strstr
but so far it won't match because of the \xxxx
Any suggestions on how to match it? Thanks
© Stack Overflow or respective owner