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 seprate numeric and string values in Filed

Hi

I have one filed like below

1529071-OVERSIGHT

15907123-Control

now i want only numeric values

please help

1 Solution

Accepted Solutions
sunny_talwar

May be using SubField function

SubField(FieldName, '-', 1) as FirstPart,

SubField(FieldName, '-', 2) as SecondPart,

View solution in original post

3 Replies
sunny_talwar

May be using SubField function

SubField(FieldName, '-', 1) as FirstPart,

SubField(FieldName, '-', 2) as SecondPart,

amit_saini
Master III
Master III

Hi,

See the attachment.

Thanks,
AS

arulsettu
Master III
Master III

stalwar1‌ answer is best one

for alternate

try this

KeepChar('1529071-OVERSIGHT','0123456789') as number

PurgeChar('1529071-OVERSIGHT','0123456789-') as string