<?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: Phantom.debug() string won't perform string interpolation. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Phantom-debug-string-won-t-perform-string-interpolation/m-p/573828#M199972</link>
    <description>&lt;P&gt;This is an old question but I believe it is because you forgot the f before the string.&lt;BR /&gt;It should be:&lt;/P&gt;&lt;PRE&gt;phantom.debug(f"Testing: {foo}")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 14:23:23 GMT</pubDate>
    <dc:creator>djacquens</dc:creator>
    <dc:date>2021-11-05T14:23:23Z</dc:date>
    <item>
      <title>Phantom.debug() string won't perform string interpolation.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Phantom-debug-string-won-t-perform-string-interpolation/m-p/483682#M135411</link>
      <description>&lt;P&gt;Why won't this phantom.debug() string perform string interpolation?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;foo = "bar"
phantom.debug("Testing: {foo}")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It should read as  &lt;CODE&gt;"Testing: bar"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 19:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Phantom-debug-string-won-t-perform-string-interpolation/m-p/483682#M135411</guid>
      <dc:creator>nhammSplunk</dc:creator>
      <dc:date>2020-04-27T19:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Phantom.debug() string won't perform string interpolation.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Phantom-debug-string-won-t-perform-string-interpolation/m-p/483683#M135412</link>
      <description>&lt;P&gt;This method works for that:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;phantom.debug("Testing: {}".format(foo))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:51:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Phantom-debug-string-won-t-perform-string-interpolation/m-p/483683#M135412</guid>
      <dc:creator>cblumer_splunk</dc:creator>
      <dc:date>2020-04-28T19:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Phantom.debug() string won't perform string interpolation.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Phantom-debug-string-won-t-perform-string-interpolation/m-p/573828#M199972</link>
      <description>&lt;P&gt;This is an old question but I believe it is because you forgot the f before the string.&lt;BR /&gt;It should be:&lt;/P&gt;&lt;PRE&gt;phantom.debug(f"Testing: {foo}")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 14:23:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Phantom-debug-string-won-t-perform-string-interpolation/m-p/573828#M199972</guid>
      <dc:creator>djacquens</dc:creator>
      <dc:date>2021-11-05T14:23:23Z</dc:date>
    </item>
  </channel>
</rss>

