<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>ClipboardFusion RSS: Need to fix one macro</title>
<atom:link href="https://www.clipboardfusion.com/Discussions/RSS/?TopicID=c073e9da-ffb5-499d-92ba-ad5dfaf73a1d" rel="self" type="application/rss+xml" />
<link>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=c073e9da-ffb5-499d-92ba-ad5dfaf73a1d</link>
<description>ClipboardFusion RSS: Need to fix one macro</description>
<lastBuildDate>Fri, 15 May 2026 18:41:24 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=c073e9da-ffb5-499d-92ba-ad5dfaf73a1d</generator>
<item>
<title>RE: Need to fix one macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/need-to-fix-one-macro/?ID=c073e9da-ffb5-499d-92ba-ad5dfaf73a1d#2</link>
<pubDate>Thu, 31 Mar 2022 17:18:24 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/need-to-fix-one-macro/?ID=c073e9da-ffb5-499d-92ba-ad5dfaf73a1d#2</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Hi Frank,
If you add ".Trim()" to the "finalOutput" references, it will remove all white space, including line breaks. It would look like this:
Code
Copy
Select All
// Paste the output
BFS.Clipboard.PasteText(finalOutput.Trim());
// Put the output on the clipboard
return finalOutput.Trim(...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi Frank,<br/>
<br/>
If you add ".Trim()" to the "finalOutput" references, it will remove all white space, including line breaks. It would look like this: <br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019e2cf17f1574b1a56b9b3f52f28cc3" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019e2cf17f1574b1a56b9b3f52f28cc3Js'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019e2cf17f1574b1a56b9b3f52f28cc3Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">// Paste the output
BFS.Clipboard.PasteText(finalOutput.Trim());

// Put the output on the clipboard
return finalOutput.Trim();</pre><textarea id="code019e2cf17f1574b1a56b9b3f52f28cc3" name="code019e2cf17f1574b1a56b9b3f52f28cc3" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>Need to fix one macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/need-to-fix-one-macro/?ID=c073e9da-ffb5-499d-92ba-ad5dfaf73a1d</link>
<pubDate>Tue, 29 Mar 2022 01:05:17 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/need-to-fix-one-macro/?ID=c073e9da-ffb5-499d-92ba-ad5dfaf73a1d</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Hi, these two macros both change case, but macro2 also seems to add a line break after the text is replaced, while macro1 just replaces the text. What change do I need to make to macro2 to remove the added line break so it acts more like macro1? Thanks.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi, these two macros both change case, but macro2 also seems to add a line break after the text is replaced, while macro1 just replaces the text. What change do I need to make to macro2 to remove the added line break so it acts more like macro1? Thanks.
</div>
]]></content:encoded>
</item>
</channel>
</rss>