That was it. Such a careless oversight. Thanks very much Mark.

On Wed, Nov 20, 2019 at 1:51 PM Mark Payne <marka...@hotmail.com> wrote:

> Hi,
>
> The problem here, I think is that you're attempting to call `toUpper()` as
> a function that takes an argument. You'd need to change it instead to:
>
> ${filename:toUpper():substringAfter( ${myTokens:toUpper()} )}
>
> Thanks
> -Mark
>
>
> > On Nov 20, 2019, at 1:18 PM, James McMahon <jsmcmah...@gmail.com> wrote:
> >
> > I have an incoming filename value of LarryCurlyMoe_ABCDstooges.
> > I want to apply an expression in an UpdateAttribute processor that
> performs a substringAfter with a Registry variable reference.
> > My Registry variable myTokens has value ABCD.
> > I'd like to apply
> ${filename:toUpper():substringAfter(toUpper(${myTokens}))} to give me a new
> filename of STOOGES.
> > The expression above throws an error. How do I craft that expression to
> reference the value in Registry variable myTokens?
> > Thanks in advance.
>
>

Reply via email to