{"id":114,"date":"2018-02-13T01:02:45","date_gmt":"2018-02-13T01:02:45","guid":{"rendered":"http:\/\/basicwebsitesolutions.com\/blog\/?p=114"},"modified":"2018-02-13T01:02:45","modified_gmt":"2018-02-13T01:02:45","slug":"delphi-6-how-to-remove-carriage-return-or-enter-key-in-memo-fields","status":"publish","type":"post","link":"https:\/\/basicwebsitesolutions.com\/blog\/2018\/02\/13\/delphi-6-how-to-remove-carriage-return-or-enter-key-in-memo-fields\/","title":{"rendered":"Delphi 6 : How to remove carriage return or enter key in memo fields"},"content":{"rendered":"<p>To make the enter key dissapear and to have the whole text in 1 line we need to replace the enter key value #13#10 with a space.<\/p>\n<p>This is how i did it.<\/p>\n<p>newFIELD := StringReplace(newFIELD, #13#10, &#8221;, []);<\/p>\n<p>Hope it helps somebody out there.<\/p>\n<p>Coffee Cup<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To make the enter key dissapear and to have the whole text in 1 line we need to replace the enter key value #13#10 with a space. This is how i did it. newFIELD := StringReplace(newFIELD, #13#10, &#8221;, []); Hope it helps somebody out there. Coffee Cup<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-aside","hentry","category-delphi-and-interbase","category-life-as-a-programmer","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":2,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}