<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[remove all line breaks from a string in BAS]]></title><description><![CDATA[<p dir="auto">I have a text in a string that contains two line breaks. So I can't just use it, for example create a file with the string as name.<br />
I want to replace everything that is not needed so that I have only the name at the end:</p>
<p dir="auto">Here is an example of the text.</p>
<pre><code>
                        Soccer field
                    
</code></pre>
<p dir="auto">In the end it should look like this.</p>
<pre><code>Soccer field
</code></pre>
<p dir="auto">Could someone please help me.</p>
]]></description><link>http://community.bablosoft.com/topic/13076/remove-all-line-breaks-from-a-string-in-bas</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 07:24:12 GMT</lastBuildDate><atom:link href="http://community.bablosoft.com/topic/13076.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Oct 2020 12:24:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to remove all line breaks from a string in BAS on Fri, 02 Oct 2020 16:35:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.bablosoft.com/uid/5228">@GameBot</a> said in <a href="/post/83571">remove all line breaks from a string in BAS</a>:</p>
<blockquote>
<p dir="auto">&lsqb;&lsqb;TEXT_TITLE&rsqb;&rsqb; = &lsqb;&lsqb;TEXT_TITLE&rsqb;&rsqb;.trim()</p>
</blockquote>
<p dir="auto">Thank you</p>
]]></description><link>http://community.bablosoft.com/post/83587</link><guid isPermaLink="true">http://community.bablosoft.com/post/83587</guid><dc:creator><![CDATA[74645]]></dc:creator><pubDate>Fri, 02 Oct 2020 16:35:37 GMT</pubDate></item><item><title><![CDATA[Reply to remove all line breaks from a string in BAS on Fri, 02 Oct 2020 12:46:34 GMT]]></title><description><![CDATA[<pre><code>&lsqb;&lsqb;TEXT_TITLE&rsqb;&rsqb; = &lsqb;&lsqb;TEXT_TITLE&rsqb;&rsqb;.trim()
</code></pre>
]]></description><link>http://community.bablosoft.com/post/83571</link><guid isPermaLink="true">http://community.bablosoft.com/post/83571</guid><dc:creator><![CDATA[GameBot]]></dc:creator><pubDate>Fri, 02 Oct 2020 12:46:34 GMT</pubDate></item><item><title><![CDATA[Reply to remove all line breaks from a string in BAS on Fri, 02 Oct 2020 12:28:55 GMT]]></title><description><![CDATA[<p dir="auto">I have already tried the following:</p>
<p dir="auto"><img src="https://i.imgur.com/5kpwr8R.png" alt="8d1b3148-a909-47ba-8004-fd4f9bbf9e0f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But this only gets rid of the blanks.</p>
<p dir="auto">This is the result.</p>
<pre><code>
Fussballplatz

</code></pre>
]]></description><link>http://community.bablosoft.com/post/83570</link><guid isPermaLink="true">http://community.bablosoft.com/post/83570</guid><dc:creator><![CDATA[74645]]></dc:creator><pubDate>Fri, 02 Oct 2020 12:28:55 GMT</pubDate></item></channel></rss>