<?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 I meant could it be possible… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79535#M31406</link>
    <description>I meant could it be possible that x/2 is not producing a whole number, eg 3/2</description>
    <pubDate>Fri, 16 Mar 2018 18:22:00 GMT</pubDate>
    <dc:creator>John__Carter</dc:creator>
    <dc:date>2018-03-16T18:22:00Z</dc:date>
    <item>
      <title>Standard text functions not working (?)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79532#M31403</link>
      <description>Hi,

We seem to be having a super weird error with a very simple function using mid / len / trim.

The function is validated (by clicking on validate) and&amp;nbsp;'evaluate expression' gives out the correct result in process/object studio, every time (on multiple computers, with different settings etc.)

However, when run outside of process/object studio, it always produces an error - 'failed to evaluate expression (...) - unexpected ) in parameters'

The function is super simple (attached a pic as well)

Mid(Trim([dataItem1]), "1", (Len(Trim([dataItem1]))/2))

Any ideas?

&amp;nbsp;

&amp;nbsp;

&amp;nbsp;

&amp;nbsp;</description>
      <pubDate>Wed, 14 Mar 2018 11:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79532#M31403</guid>
      <dc:creator>TomaszKucharczy</dc:creator>
      <dc:date>2018-03-14T11:48:00Z</dc:date>
    </item>
    <item>
      <title>Could the divide by 2 be…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79533#M31404</link>
      <description>Could the divide by 2 be producing a non-integer value?</description>
      <pubDate>Wed, 14 Mar 2018 16:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79533#M31404</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-03-14T16:40:00Z</dc:date>
    </item>
    <item>
      <title>No, since the length of the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79534#M31405</link>
      <description>No, since the length of the string is always bigger than 1 (and can't be empty).&amp;nbsp;
I couldn't find any solution and attempted something stupid - I moved this from write stage to calculation stage, passed the value to a data item and used said data item in the write stage instead.
That fixed the issue, so it seems to be a bug in BP.</description>
      <pubDate>Fri, 16 Mar 2018 14:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79534#M31405</guid>
      <dc:creator>TomaszKucharczy</dc:creator>
      <dc:date>2018-03-16T14:34:00Z</dc:date>
    </item>
    <item>
      <title>I meant could it be possible…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79535#M31406</link>
      <description>I meant could it be possible that x/2 is not producing a whole number, eg 3/2</description>
      <pubDate>Fri, 16 Mar 2018 18:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79535#M31406</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-03-16T18:22:00Z</dc:date>
    </item>
    <item>
      <title>Replace ""1"" with 1 and try.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79536#M31407</link>
      <description>Replace ""1"" with 1 and try.</description>
      <pubDate>Wed, 25 Apr 2018 13:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79536#M31407</guid>
      <dc:creator>VishalPrajapati</dc:creator>
      <dc:date>2018-04-25T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Had the same issue with…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79537#M31408</link>
      <description>Had the same issue with expression ""01-Jan-""&amp;amp;FormatDate(AddMonths(Today(); 12); ""yyyy"") in write stage.
error message&amp;nbsp;: Syntax error. The token '(' is invalid. Please check the case of your operators (eg 'or' versus 'OR') and check that your functions use brackets after the function name eg Now(), eg Len(""abc"").
Validation shows its working fine,&amp;nbsp;the solution with move the expression to calc stage too... so just wonder what could be the issue.
&amp;nbsp;</description>
      <pubDate>Mon, 18 Jun 2018 18:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79537#M31408</guid>
      <dc:creator>RostislavPelika</dc:creator>
      <dc:date>2018-06-18T18:01:00Z</dc:date>
    </item>
    <item>
      <title>Check you regional settings…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79538#M31409</link>
      <description>Check you regional settings and ensure that number formats do not use commas for decimal, separators etc.&amp;nbsp; I saw similar behaviour and from what I could tell the inclusion of commas in value passed causes the text parser to expect a parameter.</description>
      <pubDate>Mon, 13 Aug 2018 17:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Standard-text-functions-not-working/m-p/79538#M31409</guid>
      <dc:creator>NevilleWatson</dc:creator>
      <dc:date>2018-08-13T17:25:00Z</dc:date>
    </item>
  </channel>
</rss>

