보통 공개 웹서버를 보면 쿼리 파싱 부분에 sscanf 를 많이 쓰게 됩니다.
까먹고 있다가.. 오늘 관련 문서를 보아서 글을 남겨 봅니다..
혹시 다른 좋은 팁이 있으시면 같이 리플 남겨 주세요.
--------------------------------------------------------------------
Using sscanf to Extract Strings
Consider the problem of taking a string of the form;
a MyArr[Bill]=/turtle/
and extracting the name "Bill" and the nickname "turtle.
Consider the following code (which works). The numbers are not really part of the code. Rather, they are references in the discussion.