We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

Two rudimentary questions: 1) If I'm creating a text array consta

Two rudimentary questions:

1) If I'm creating a text array constant how would I represent a semicolon (since entries are separated by semicolons)

2) If I'm creating a text array in SAIL (e.g. {"1","2","3"} ) how would I represent the double-quotes? I think the answer here is to use a char function but wonder if there is another way to handle it.

I'm sure these are simple, I just couldn't seem to find anything on the News or Documentation that gave me an example for special characters in the above two questions.

OriginalPostID-166283

OriginalPostID-166283

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    #1 is a good question. I can't find any info on whether there's an escape sequence, etc.

    #2 is actually not too difficult, though it's also not really obvious - you use double quotes inside a text string where you would want a quote symbol to appear. However due to confusion this could cause, I'd almost recommend instead to use the char() function, perhaps wrapped in a common expression rule used just for this purpose.

Reply
  • 0
    Certified Lead Developer
    #1 is a good question. I can't find any info on whether there's an escape sequence, etc.

    #2 is actually not too difficult, though it's also not really obvious - you use double quotes inside a text string where you would want a quote symbol to appear. However due to confusion this could cause, I'd almost recommend instead to use the char() function, perhaps wrapped in a common expression rule used just for this purpose.

Children
No Data