Active IQ Unified Manager Discussions

How to ignore special char '$'in constant

francoisbnc
1,840 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
1,840 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
1,841 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