
{"id":1185,"date":"2010-03-22T23:19:35","date_gmt":"2010-03-22T17:49:35","guid":{"rendered":"http:\/\/froisa.com\/?p=1185"},"modified":"2010-03-22T23:19:35","modified_gmt":"2010-03-22T17:49:35","slug":"strrchr-programming","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/03\/22\/strrchr-programming\/","title":{"rendered":"strrchr  programming"},"content":{"rendered":"<p>strrchr(&#8220;\/bin\/pwd&#8221;, &#8216;\/&#8217;)                                                      = &#8220;\/pwd&#8221;<\/p>\n<p>strchr, strrchr, strchrnul &#8211; locate character in string.<\/p>\n<p>#define _GNU_SOURCE<br \/>\n#include&lt;stdio.h&gt;<br \/>\n#include&lt;string.h&gt;<br \/>\nmain()<br \/>\n{<br \/>\nchar *stringp;<br \/>\nstringp=strrchr(&#8220;\/bin\/pwd&#8221;,&#8217;\/&#8217;);<br \/>\nprintf(&#8220;\\n %s \\n&#8221;,stringp);<br \/>\n}<\/p>\n<p><a> http:\/\/php.net\/manual\/en\/function.strrchr.php<\/a><\/p>\n<p>Agassi, Andre: Farewell to Tennis<br \/>\n[audio: http:\/\/www.freeinfosociety.com\/media\/sounds\/3828.mp3]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>strrchr(&#8220;\/bin\/pwd&#8221;, &#8216;\/&#8217;) = &#8220;\/pwd&#8221; strchr, strrchr, strchrnul &#8211; locate character in string. #define _GNU_SOURCE #include&lt;stdio.h&gt; #include&lt;string.h&gt; main() { char *stringp; stringp=strrchr(&#8220;\/bin\/pwd&#8221;,&#8217;\/&#8217;); printf(&#8220;\\n %s \\n&#8221;,stringp); } http:\/\/php.net\/manual\/en\/function.strrchr.php Agassi, Andre: Farewell to Tennis [audio: http:\/\/www.freeinfosociety.com\/media\/sounds\/3828.mp3]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[1504],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1185"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=1185"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1185\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=1185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=1185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=1185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}