Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Frank M

macrumors member
Original poster
Aug 20, 2019
68
4
New Jersey
In Shortcuts using ASK with input type set to Number.
Is there a way to identify if a period (.) is entered as part of the numeric string?

Thanks for your help.
Frank M
 

Frank M

macrumors member
Original poster
Aug 20, 2019
68
4
New Jersey
In Shortcuts using ASK with input type set to Number.
Is there a way to identify if a period (.) is entered as part of the numeric string?

Thanks for your help.
Frank M

11-5-19

I found a solution to my question in the above post.
ASK with input type set to Number allows numbers but also a period (.).
Was trying to code for the possibility of a pure numeric string (no periods in a 10 position phone number).
Using Repeat ... and Split ... I was able to accomplish this in a shortcut.
If interested I have attached an extract of a shortcut that gives my solution.

Thanks,
Frank M

 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.