{"id":404,"date":"2024-10-10T14:12:44","date_gmt":"2024-10-10T13:12:44","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=404"},"modified":"2024-10-10T14:14:41","modified_gmt":"2024-10-10T13:14:41","slug":"mwnci-ljust-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-ljust-function\/","title":{"rendered":"Mwnci ljust() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>ljust<strong>(<em>string,length, [character]<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>ljust()<\/i> function will left align the string, using a specified character (space is default) as the fill character.<\/p>\n<p>&nbsp;<\/p>\n<h2>Example<\/h2>\n<pre>include(\"string\")\r\nprintln(ljust(\"foobar\", 20 , \"+\"))\r\nprintln(ljust(\"foobar\", 20),\"&lt;---\")\r\n\r\nfoobar++++++++++++++\r\nfoobar              &lt;---\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax ljust(string,length, [character]) Description The ljust() function will left align the string, using a specified character (space is default) as the fill character. &nbsp; Example include(&#8220;string&#8221;) println(ljust(&#8220;foobar&#8221;, 20 , &#8220;+&#8221;)) println(ljust(&#8220;foobar&#8221;, 20),&#8221;&lt;&#8212;&#8220;) foobar++++++++++++++ foobar &lt;&#8212;<\/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-404","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/404","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=404"}],"version-history":[{"count":3,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/404\/revisions"}],"predecessor-version":[{"id":407,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/404\/revisions\/407"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}