Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Preceding Load strips leading and trailing spaces

The following code results in leading and trailing spaces being removed from FieldB. Is this a bug or a 'feature'? I'm using QV9 SR2.

Test:
load
FieldA & '{Spaces Removed before and after dash}' as FieldB;
load
' TEST - ' as FieldA
autogenerate(1);

1 Solution

Accepted Solutions
wizardo
Creator III
Creator III

hi there, take a look at this special variable

Verbatim

Normally all field values are automatically stripped of preceding and succeeding blank characters (ASCII 32) before being loaded into the QlikView database. Setting this variable to 1 suspends the stripping of blank characters.

Example:

set Verbatim = 1;

hope this helps

Mansyno

View solution in original post

1 Reply
wizardo
Creator III
Creator III

hi there, take a look at this special variable

Verbatim

Normally all field values are automatically stripped of preceding and succeeding blank characters (ASCII 32) before being loaded into the QlikView database. Setting this variable to 1 suspends the stripping of blank characters.

Example:

set Verbatim = 1;

hope this helps

Mansyno