cancel
Showing results for 
Search instead for 
Did you mean: 

Handling Special Characters in BLS

Former Member
0 Kudos

Hi,

I am trying to handle a string with single quotes/apostraphe ( ' ) in BLS through a variable. But it gives me error while handling that character.

I have already tried giving "\" before ' still it doesn't work.

e.g.

Transaction variable name -> test

value in the variable -> D' Souza

Please help.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Ankit,

There is a keyword for the ( ' ) character, which is: singlequote

Also there is one for the ( " ) character as well, doublequote

Hope this helps.

-Sam

Answers (1)

Answers (1)

0 Kudos

Ankit,

Additionally you can use the xmlencode() function on the Variable, which will probably suite your needs a little bit better.

-Sam

Former Member
0 Kudos

Thanks Sam, it helped.