Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use "[]" as the character in load script?

Load * Inline [

String

'Abc'

'CDE'

'[c4]'

];

1 Solution

Accepted Solutions
Gysbert_Wassenaar

You can use another character like a double quote:

Load * Inline "

String

'Abc'

'CDE'

'[c4]'

";


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Gysbert_Wassenaar

You can use another character like a double quote:

Load * Inline "

String

'Abc'

'CDE'

'[c4]'

";


talk is cheap, supply exceeds demand
Not applicable
Author

You may use the Chr() function with the apprpriate ASCII code.

For single quote, we use Chr(39) & 'sth else" as FieldName

here, you may use it with the 91 and 93 ascii codes.

Chr(91) = [

Chr(93)= ]

Fabrice

Anonymous
Not applicable
Author

By the way, how should I do if I have to use double quot and "[]" in load script at the same time?

Gysbert_Wassenaar

You can use for example ` quotes. See this blog post: Qlikview Quoteology


talk is cheap, supply exceeds demand
rbecher
MVP
MVP

Works also without the single quotes (as expected):

Load * Inline "

String

Abc

CDE

[c4]

";

Astrato.io Head of R&D