<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Removing spaces from a string in java in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285354#M58976</link>
    <description>Hi All, 
&lt;BR /&gt;Can any one tell me how to do this operation&amp;nbsp; 
&lt;BR /&gt; 
&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;For example, change format of older data from ‘13960036’ to ‘1396&amp;nbsp;&amp;nbsp;&amp;nbsp; 0036’&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;so its like '1396&amp;lt;&amp;lt;4 space&amp;gt;&amp;gt;0036' 
&lt;BR /&gt;&amp;nbsp;there are 4 spaces need to be added between the string 
&lt;BR /&gt;Please tell how i can do&amp;nbsp; 
&lt;BR /&gt;thanks 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Mon, 21 Nov 2016 16:47:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-21T16:47:56Z</dc:date>
    <item>
      <title>Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285345#M58967</link>
      <description>Hello,
&lt;BR /&gt;Anyone know how remove all spaces from a string in tMap with EREPLACE or with tReplace component ?
&lt;BR /&gt;For example, if i have ' a3d fdj fdo fds fds &amp;amp;pp ', the result must be 'a3dfdjfdofdsfds&amp;amp;pp'.
&lt;BR /&gt;I tried EREPLACE(string," ",""), EREPLACE(string,"\s",""), EREPLACE(string,"\\s",""), ...</description>
      <pubDate>Sat, 16 Nov 2024 14:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285345#M58967</guid>
      <dc:creator>patricesoulet</dc:creator>
      <dc:date>2024-11-16T14:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285346#M58968</link>
      <description>to remove beginning and trailing spaces: 
&lt;BR /&gt; 
&lt;PRE&gt;StringHandling.TRIM(" hellow world! ")&lt;/PRE&gt; 
&lt;BR /&gt;EREPLACE worked for me (in TOS 3.0.0, see pics) 
&lt;BR /&gt; 
&lt;PRE&gt;StringHandling.EREPLACE(row1.newColumn," ","")&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Oct 2008 18:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285346#M58968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-22T18:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285347#M58969</link>
      <description>Yes, rigth, that work ... in this case ... 
&lt;BR /&gt;But when string is from an Excel file, where the cell is formatted as number with space for thousands seprator ... spaces aree not removed ... 
&lt;BR /&gt;My job :</description>
      <pubDate>Thu, 23 Oct 2008 10:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285347#M58969</guid>
      <dc:creator>patricesoulet</dc:creator>
      <dc:date>2008-10-23T10:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285348#M58970</link>
      <description>Finaly, i've find ... the thousands separator is not a space, but the hexa decimal caracter A0. 
&lt;BR /&gt;With StringHandling.EREPLACE(myString, "\\xA0",""), i can resolve my problem ... 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks for your help strpdsnk.</description>
      <pubDate>Thu, 23 Oct 2008 10:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285348#M58970</guid>
      <dc:creator>patricesoulet</dc:creator>
      <dc:date>2008-10-23T10:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285349#M58971</link>
      <description>how to remove space in a string in tmap "
&lt;BR /&gt;ex " &amp;nbsp; abc &amp;nbsp; def " to "abcdef"</description>
      <pubDate>Tue, 23 Feb 2016 10:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285349#M58971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-23T10:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285350#M58972</link>
      <description>columnName.replace(" ","")</description>
      <pubDate>Wed, 24 Feb 2016 08:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285350#M58972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T08:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285351#M58973</link>
      <description>or column.replaceAll(" ","") if you wanna get more aggressive 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 Feb 2016 12:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285351#M58973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T12:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285352#M58974</link>
      <description>Both replace() and replaceAll() replaces all the occurrence found. However, there is difference in the type of arguments they accept. 
&lt;BR /&gt; replace() works on CharSequence, where as replaceAll(), accepts regex, so you can do a regular expression based pattern matching. The later is more flexible, but might result in a bit of performance overhead of compiling the regex and then do a matching.</description>
      <pubDate>Wed, 24 Feb 2016 15:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285352#M58974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285353#M58975</link>
      <description>ah, I was not aware of the difference. thanks!</description>
      <pubDate>Thu, 25 Feb 2016 15:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285353#M58975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T15:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from a string in java</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285354#M58976</link>
      <description>Hi All, 
&lt;BR /&gt;Can any one tell me how to do this operation&amp;nbsp; 
&lt;BR /&gt; 
&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;For example, change format of older data from ‘13960036’ to ‘1396&amp;nbsp;&amp;nbsp;&amp;nbsp; 0036’&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;so its like '1396&amp;lt;&amp;lt;4 space&amp;gt;&amp;gt;0036' 
&lt;BR /&gt;&amp;nbsp;there are 4 spaces need to be added between the string 
&lt;BR /&gt;Please tell how i can do&amp;nbsp; 
&lt;BR /&gt;thanks 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 21 Nov 2016 16:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-spaces-from-a-string-in-java/m-p/2285354#M58976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-21T16:47:56Z</dc:date>
    </item>
  </channel>
</rss>

