<?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: Issue with string Handling Function in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294994#M67822</link>
    <description>Hey Janhess- 
&lt;BR /&gt;Good afternoon, 
&lt;BR /&gt;My output : Abhishek Sharma 
&lt;BR /&gt;That Routine works fine but my Issue is with 2nd word, 
&lt;BR /&gt;routine which you have sent me gives Abhishek sharma, But I need 's' also in caps. Can I get updated routine please. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pradeep</description>
    <pubDate>Tue, 18 Oct 2011 18:44:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-10-18T18:44:45Z</dc:date>
    <item>
      <title>Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294987#M67815</link>
      <description>Hello - 
&lt;BR /&gt;Good Morning. I have a name abhishek sharma, So here I need to get the output as Abhishek Sharma 
&lt;BR /&gt;First name &amp;amp; lastname first letters should be in uppercase. 
&lt;BR /&gt;Any Suggestions. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pradeep</description>
      <pubDate>Sat, 16 Nov 2024 12:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294987#M67815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294988#M67816</link>
      <description>Set this up as a routine.
&lt;BR /&gt; /**
&lt;BR /&gt; * titleCase() Changes a string to Title case.
&lt;BR /&gt; * 
&lt;BR /&gt; * {talendTypes} String
&lt;BR /&gt; * 
&lt;BR /&gt; * {Category} Ncl_routines
&lt;BR /&gt; * 
&lt;BR /&gt; * {param} String("fred") input: the string to change to title case
&lt;BR /&gt; * 
&lt;BR /&gt; * {example} titleCase("fred") # Fred
&lt;BR /&gt; * 
&lt;BR /&gt; */ 
&lt;BR /&gt; public static String titleCase(String string){
&lt;BR /&gt; String result = "";
&lt;BR /&gt; for (int i = 0; i &amp;lt; string.length(); i++){
&lt;BR /&gt; String next = string.substring(i, i + 1);
&lt;BR /&gt; if (i == 0){
&lt;BR /&gt; result += next.toUpperCase();
&lt;BR /&gt; } else {
&lt;BR /&gt; result += next.toLowerCase();
&lt;BR /&gt; }
&lt;BR /&gt; }
&lt;BR /&gt; return result;
&lt;BR /&gt; }</description>
      <pubDate>Tue, 18 Oct 2011 15:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294988#M67816</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-10-18T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294989#M67817</link>
      <description>Thank you for your Quick response. 
&lt;BR /&gt;I tried doing it but i couldn't, Do I have any other way to do with string handling functions? Please help me. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pradeep</description>
      <pubDate>Tue, 18 Oct 2011 16:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294989#M67817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T16:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294990#M67818</link>
      <description>Couldn't what? Set it up as a routine? You'll need to change the category. Then use the routine in the tMap rule to change to title case.</description>
      <pubDate>Tue, 18 Oct 2011 16:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294990#M67818</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-10-18T16:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294991#M67819</link>
      <description>Thank you Janhess . Issue Resolved. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pradeep</description>
      <pubDate>Tue, 18 Oct 2011 16:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294991#M67819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294992#M67820</link>
      <description>Another way you could do this is using the following code in your tMap
&lt;BR /&gt;
&lt;PRE&gt;StringHandling.UPCASE(StringHandling.LEFT(row4.test,1))+StringHandling.RIGHT(row4.test,StringHandling.LEN(row4.test)-1)&lt;/PRE&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Brandon</description>
      <pubDate>Tue, 18 Oct 2011 16:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294992#M67820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T16:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294993#M67821</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Another way you could do this is using the following code in your tMap&lt;BR /&gt;&lt;PRE&gt;StringHandling.UPCASE(StringHandling.LEFT(row4.test,1))+StringHandling.RIGHT(row4.test,StringHandling.LEN(row4.test)-1)&lt;/PRE&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Brandon&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Only works if there are 2 words to change.</description>
      <pubDate>Tue, 18 Oct 2011 17:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294993#M67821</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-10-18T17:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294994#M67822</link>
      <description>Hey Janhess- 
&lt;BR /&gt;Good afternoon, 
&lt;BR /&gt;My output : Abhishek Sharma 
&lt;BR /&gt;That Routine works fine but my Issue is with 2nd word, 
&lt;BR /&gt;routine which you have sent me gives Abhishek sharma, But I need 's' also in caps. Can I get updated routine please. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pradeep</description>
      <pubDate>Tue, 18 Oct 2011 18:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294994#M67822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T18:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294995#M67823</link>
      <description>any Suggestions. Please.
&lt;BR /&gt;regards,
&lt;BR /&gt;Pradeep</description>
      <pubDate>Tue, 18 Oct 2011 20:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294995#M67823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T20:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294996#M67824</link>
      <description>I'm sure I tested it.
&lt;BR /&gt;Try this 
&lt;BR /&gt;public static String toTitleCase(String input) {
&lt;BR /&gt; StringBuilder titleCase = new StringBuilder();
&lt;BR /&gt; boolean nextTitleCase = true;
&lt;BR /&gt; for (char c : input.toCharArray()) {
&lt;BR /&gt; if (Character.isSpaceChar(c)) {
&lt;BR /&gt; nextTitleCase = true;
&lt;BR /&gt; } else if (nextTitleCase) {
&lt;BR /&gt; c = Character.toTitleCase(c);
&lt;BR /&gt; nextTitleCase = false;
&lt;BR /&gt; }
&lt;BR /&gt; else {
&lt;BR /&gt; c = Character.toLowerCase(c);
&lt;BR /&gt; }
&lt;BR /&gt; titleCase.append(c);
&lt;BR /&gt; }
&lt;BR /&gt; return titleCase.toString();
&lt;BR /&gt; }</description>
      <pubDate>Wed, 19 Oct 2011 09:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294996#M67824</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-10-19T09:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294997#M67825</link>
      <description>@ Janhess - 
&lt;BR /&gt;Thank you Very much For your help. Issue Resolved. 
&lt;BR /&gt;How did you do that ? Appreciate it , It is very tough for me to write coding part (routines), I am new to Talend, Do u suggest me some online links. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pradeep</description>
      <pubDate>Wed, 19 Oct 2011 16:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294997#M67825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T16:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294998#M67826</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;@ Janhess - &lt;BR /&gt;Thank you Very much For your help. Issue Resolved.&lt;BR /&gt;How did you do that ? Appreciate it , It is very tough for me to write coding part (routines), I am new to Talend, Do u suggest me some online links. &lt;BR /&gt;Regards,&lt;BR /&gt;Pradeep&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Googled it. You should try it!</description>
      <pubDate>Wed, 19 Oct 2011 17:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294998#M67826</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-10-19T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294999#M67827</link>
      <description>The code here will also convert the rest of the string (after the first letter) to small cap: 
&lt;BR /&gt;StringHandling.UPCASE(StringHandling.LEFT(row.Family,1))+ 
&lt;BR /&gt;StringHandling.DOWNCASE(StringHandling.RIGHT(row.Family,StringHandling.LEN(row.Family)-1))</description>
      <pubDate>Wed, 11 Apr 2012 15:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2294999#M67827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-11T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2295000#M67828</link>
      <description>But it doesn't solve the problem that was raised. It doesn't convert all words.</description>
      <pubDate>Thu, 12 Apr 2012 09:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2295000#M67828</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-04-12T09:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2295001#M67829</link>
      <description>Hi,
&lt;BR /&gt;There is a capitalizeFully method in the Commons Lang JAR that ships with Talend. The method is in a class called WordUtils. From the documentation...
&lt;BR /&gt; WordUtils.capitalizeFully(null) = null
&lt;BR /&gt; WordUtils.capitalizeFully("") = ""
&lt;BR /&gt; WordUtils.capitalizeFully("i am FINE") = "I Am Fine"
&lt;BR /&gt;This post shows how to use the Commons Lang library in a Talend tMap. For this requirement, substitute "WordUtils" for "StringUtils" and "org.apache.commons.lang.WordUtils" for "org.apache.commons.lang.StringUtils".
&lt;BR /&gt;
&lt;A href="http://bekwam.blogspot.com/2011/01/java-libraries-in-talend-open-studio.html" rel="nofollow noopener noreferrer"&gt;http://bekwam.blogspot.com/2011/01/java-libraries-in-talend-open-studio.html&lt;/A&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2295001#M67829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-12T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with string Handling Function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2295002#M67830</link>
      <description>I find it a bit of an overhead to remember to do the tLibraryLoad all the time so I converted all the Apache string Utils to Talend Routines.</description>
      <pubDate>Thu, 12 Apr 2012 16:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-string-Handling-Function/m-p/2295002#M67830</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-04-12T16:42:40Z</dc:date>
    </item>
  </channel>
</rss>

