Active IQ Unified Manager Discussions

How to ignore special char '$'in constant

francoisbnc
3,362 Views

Hello,

In some workflows, I have to set a serial LUN number with '$' inside the string and I don't want this name be treated as variable.

How to escape this char,   \$ is not working for me. Constant don't help here.

François

1 ACCEPTED SOLUTION

sinhaa
3,362 Views

Assume your string is : 1234$abcd which you want to set i.e. a $ in the middle.

Define 2 constants:

Name: Part1  , value: '1234$'

Name: Part2, value: 'abcd'

Now in your workflow, you can easily use: Part1 + Part2

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

1 REPLY 1

sinhaa
3,363 Views

Assume your string is : 1234$abcd which you want to set i.e. a $ in the middle.

Define 2 constants:

Name: Part1  , value: '1234$'

Name: Part2, value: 'abcd'

Now in your workflow, you can easily use: Part1 + Part2

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public