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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
vanderson009
Creator III
Creator III

How to ignore ';'

Hi Community,

I have values in my field like Anderson; Villyee but i want display it on text box as Villyee Anderson,

How could i revert it by ignoring semicolon.

Regards,

Villyee

5 Replies
simenkg
Specialist
Specialist

In your script you can do this:

Load *,

     trim(Subfield(Name,';',2)) &' '& Subfield(Name,';',1) as FullName

from Source......;

If you want to do it in the front end you can just use the same expression directly, but this will be slower:


=trim(Subfield(Name,';',2)) &' '& Subfield(Name,';',1)

alexandros17
Partner - Champion III
Partner - Champion III

Purgechar(myString,';')

if you do:

purgechar('abcd;',';') it will return abcd

PrashantSangle

Hi,

Use PurgeChar()

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
sunny_talwar

To ignore the you can use Replace or PurgeChar.

Replace(FieldName, ';', '')

HTH

Best,

S

sunny_talwar

And to get exactly what you are trying to get, you can use the following expression:

=Trim(SubField('Anderson; Villyee', ';', 2)) & ' ' & SubField('Anderson; Villyee', ';', 1)

this will take you from Anderson; Villyee to Villyee Anderson

Best,

S