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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Formatting

I have a varchar2 field which is like 'abc-123-w312'.I want to dispaly it as ''abc123w312'.Kindly let me know what syntax needs to be used in the qV load to get this format.

Thanks,pooja

Labels (1)
5 Replies
Not applicable
Author

=replace('abc-123-w312','-','')

Please use this.

Not applicable
Author

Load

replace('Column','-','') as Column1

;

Anonymous
Not applicable
Author

Replace is fine. Another option is purgechar:
purgechar(FieldName, '-')

Not applicable
Author

Hi Pooja2010 ,

try like this..

LOAD

subfield(ColumnName,'-',1) & subfield(ColumnName,'-',2) & subfield(ColumnName,'-',3) as NewColumName

FROM SourceFile;

Not applicable
Author

Thanks all for your quick replies.wow..there are so many ways to do this.