{"id":419,"date":"2024-10-10T14:40:51","date_gmt":"2024-10-10T13:40:51","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=419"},"modified":"2024-10-10T14:40:51","modified_gmt":"2024-10-10T13:40:51","slug":"mwnci-swapcase-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-swapcase-function\/","title":{"rendered":"Mwnci swapcase() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>sw<strong>apcase(<em>string<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>swapcase()<\/i> function returns a string where all the upper case letters are lower case and vice versa.<\/p>\n<h2>Example<\/h2>\n<pre>include(\"string\")\r\nprintln(swapcase(\"foobar\"))\r\nprintln(swapcase(\"FOOBAR\"))\r\nprintln(swapcase(\"fooBAR\"))\r\n\r\n\r\nFOOBAR\r\nfoobar\r\nFOObar   \r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax swapcase(string) Description The swapcase() function returns a string where all the upper case letters are lower case and vice versa. Example include(&#8220;string&#8221;) println(swapcase(&#8220;foobar&#8221;)) println(swapcase(&#8220;FOOBAR&#8221;)) println(swapcase(&#8220;fooBAR&#8221;)) FOOBAR foobar FOObar<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-419","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=419"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/419\/revisions"}],"predecessor-version":[{"id":420,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/419\/revisions\/420"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}