Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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