{"id":286,"date":"2024-10-03T08:37:48","date_gmt":"2024-10-03T07:37:48","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=286"},"modified":"2024-10-03T08:40:49","modified_gmt":"2024-10-03T07:40:49","slug":"mwnci-ltrim-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-ltrim-function\/","title":{"rendered":"Mwnci ltrim() Function"},"content":{"rendered":"<h2><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h2>\n<p>ltrim(<i><b>string<\/b><\/i>,<i><b>[cutset]<\/b><\/i>)<\/p>\n<h2><span id=\"Description\" class=\"mw-headline\">Description<\/span><\/h2>\n<p><i>ltrim()<\/i> returns a string with all leading characters contained in <b>cutset<\/b> removed. If no <b>cutset<\/b> is defined, then all leading white spaces will be removed.<\/p>\n<h2><span id=\"Example\" class=\"mw-headline\">Example<\/span><\/h2>\n<pre>println(ltrim(\"!!!Hi There!!!\", \"!\"))\r\n\r\n\r\nHi There!!!\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax ltrim(string,[cutset]) Description ltrim() returns a string with all leading characters contained in cutset removed. If no cutset is defined, then all leading white spaces will be removed. Example println(ltrim(&#8220;!!!Hi There!!!&#8221;, &#8220;!&#8221;)) Hi There!!!<\/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-286","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/286","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=286"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/286\/revisions"}],"predecessor-version":[{"id":287,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/286\/revisions\/287"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}