<?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: Escaping Character with a global variable in the middle in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Escaping-Character-with-a-global-variable-in-the-middle/m-p/2363143#M127115</link>
    <description>&lt;P&gt;Thanks, I fixed it with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cursor2 = " \"cursor\" :"&amp;nbsp;+ "\"" + row5.cursor + "\"}" ;&lt;/P&gt;&lt;P&gt;context.Body="{\"location_ids\":[\"" + (String) globalMap.get("locations") + "\"]," + cursor2&amp;nbsp;;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Aug 2021 19:14:14 GMT</pubDate>
    <dc:creator>RVeitch_84</dc:creator>
    <dc:date>2021-08-28T19:14:14Z</dc:date>
    <item>
      <title>Escaping Character with a global variable in the middle</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-Character-with-a-global-variable-in-the-middle/m-p/2363141#M127113</link>
      <description>&lt;P&gt;I need to pass this as a string in tJava and I need to escape the double qoutes with a variable in the middle .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String cursor2;&lt;/P&gt;&lt;P&gt;cursor2 = " \"cursor\" " + ":" + row5.cursor ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;context.Body="{\"location_ids\":[\"" + (String) globalMap.get("locations") +"\"], \"" + cursor2 + "\"}" ;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the cuurent result, I'm missing the double quotes in front of the g and I have an extra infront of the word cursor?&lt;/P&gt;&lt;P&gt;body {"location_ids":["27NA2Q0DDW471"], " "cursor" :gc7IdfFn6y61gTgvVxFSTIw9xHVpRnr7oggL"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need my body to look like this.&lt;/P&gt;&lt;P&gt;body {"location_ids":["27NA2Q0DDW471"],  "cursor" :&lt;B&gt;"&lt;/B&gt;gc7IdfFn6y61gTgvVxFSTIw9xHVpRnr7oggL"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-Character-with-a-global-variable-in-the-middle/m-p/2363141#M127113</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2024-11-15T23:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping Character with a global variable in the middle</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-Character-with-a-global-variable-in-the-middle/m-p/2363142#M127114</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;For debugging, print the value of row5.cursor on the console to check if it has the expected value. &lt;/P&gt;&lt;P&gt;cursor2 = " \"cursor\" " + ":" + row5.cursor;&lt;/P&gt;&lt;P&gt;System.out.println(row5.cursor);&lt;/P&gt;&lt;P&gt;System.out.println(cursor2);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 03:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-Character-with-a-global-variable-in-the-middle/m-p/2363142#M127114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-28T03:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping Character with a global variable in the middle</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-Character-with-a-global-variable-in-the-middle/m-p/2363143#M127115</link>
      <description>&lt;P&gt;Thanks, I fixed it with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cursor2 = " \"cursor\" :"&amp;nbsp;+ "\"" + row5.cursor + "\"}" ;&lt;/P&gt;&lt;P&gt;context.Body="{\"location_ids\":[\"" + (String) globalMap.get("locations") + "\"]," + cursor2&amp;nbsp;;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 19:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-Character-with-a-global-variable-in-the-middle/m-p/2363143#M127115</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2021-08-28T19:14:14Z</dc:date>
    </item>
  </channel>
</rss>

