How do I get the substr this way in c?

Posted by httpinterpret on Stack Overflow See other posts from Stack Overflow or by httpinterpret
Published on 2010-05-07T17:46:42Z Indexed on 2010/05/07 17:58 UTC
Read the original article Hit count: 208

Filed under:
|
/^[^\s]+\s([^\s]+)\s/

In PHP,I can use regex to get the substr by $1,

how should I do it in C?

It's better if can do it without regex,though.

UPDATE

Put simply, how do I get werwerur out of swerwer werwerur y (the second)?

© Stack Overflow or respective owner

Related posts about c

    Related posts about string-manipulation