<?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: Formating String when execute String.valueOf(My_field) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253499#M36815</link>
    <description>Hello
&lt;BR /&gt;Try 
&lt;BR /&gt;
&lt;PRE&gt;String.valueOf(My_Field).length()&amp;lt;2?"0"+String.valueOf(My_Field):String.valueOf(My_Field)&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
    <pubDate>Wed, 16 Jul 2008 10:01:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-07-16T10:01:45Z</dc:date>
    <item>
      <title>Formating String when execute String.valueOf(My_field)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253498#M36814</link>
      <description>Hello.&lt;BR /&gt;First i have a integer value i want to string. Then i use String.valueOf(My_Field).&lt;BR /&gt;But if the value is 3 i get in my string "3" or i would like to have "03".&lt;BR /&gt;An idea please.&lt;BR /&gt;I surch for a Format.... method but no results yet.&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 14:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253498#M36814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Formating String when execute String.valueOf(My_field)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253499#M36815</link>
      <description>Hello
&lt;BR /&gt;Try 
&lt;BR /&gt;
&lt;PRE&gt;String.valueOf(My_Field).length()&amp;lt;2?"0"+String.valueOf(My_Field):String.valueOf(My_Field)&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 16 Jul 2008 10:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253499#M36815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-16T10:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Formating String when execute String.valueOf(My_field)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253500#M36816</link>
      <description>I use this in tMap to convert a integer between 0 to 99, to a 2 charcaters String 
&lt;BR /&gt;StringHandling.CHANGE(String.format("%2.0f",ROW1.FIELD)," ","0");
&lt;BR /&gt;"%2.0f" is format of java printf syntaxe
&lt;BR /&gt;String.format is talend function
&lt;BR /&gt;StringHandling.CHANGE is talend function</description>
      <pubDate>Wed, 16 Jul 2008 10:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253500#M36816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-16T10:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formating String when execute String.valueOf(My_field)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253501#M36817</link>
      <description>Shong and SDjecepap i thank you very much.</description>
      <pubDate>Wed, 16 Jul 2008 13:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-String-when-execute-String-valueOf-My-field/m-p/2253501#M36817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-16T13:17:33Z</dc:date>
    </item>
  </channel>
</rss>

