Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to remove symbols '/' from cell values?


Hi,

I have data in excel as below. there are more rows like this

IndexID= 039327/607685.

I want to show in table IndexID= 039327

so, I don't want to display anything right to the symbol '/'

Please can anyone how to remove these.

Thanks.

1 Solution

Accepted Solutions
PrashantSangle

Hi,

Use subfield(IndexID,'/',1)

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 🙂

View solution in original post

8 Replies
PrashantSangle

Hi,

Use subfield(IndexID,'/',1)

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 🙂
Anonymous
Not applicable
Author

Use subfield():

subfield(IndexID,'/',1)

Not applicable
Author

Hi,

You can use in script.

SubField(IndexID,',',1)  as  Index_ID,

robert_mika
Master III
Master III

02-Apr-15 2-29-43 PM.jpg

or in script:

load

textbetween(IndexID,'','/') as ID

Not applicable
Author

This is what you need.

Check the attached file.

Mohssine AMHACHI

Not applicable
Author

Use subfiled() function in the script:

subfield(IndexID,'/',1) as IndexID

vishsaggi
Champion III
Champion III

Hi,

You can also use this, Just another Way.

left(IndexID, index(IndexID,'/',1)-1) As IndexID

Regards,
Vish.

Not applicable
Author

Thanks for all answers.