- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Removing punctuation in a string
Hi - can someone help me with a solution for removing the second hyphen in the 1st row in the "Number" column below?
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Removing punctuation in a string
Have you tried playing around with Recode?
Formula like
Word([1 -1], :Column 1, "-")
might also work (and there are plenty of other options).
-Jarmo
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Removing punctuation in a string
Have you tried playing around with Recode?
Formula like
Word([1 -1], :Column 1, "-")
might also work (and there are plenty of other options).
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Removing punctuation in a string
Thank you! I did look into recode, but I didn't see the options that you're seeing. Is that extract segment popup available in JMP 17?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Removing punctuation in a string
I would assume so. It can be at least found from JMP17 help https://www.jmp.com/support/help/en/17.2/#page/jmp/recode-data-in-a-column.shtml#ww1042951
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Removing punctuation in a string
I see it now. Thank you!