NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

How to ignore special char '$'in constant

francoisbnc
3,961 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,961 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,962 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