How to get just the first 5 digits of numbers

how to get just the 12345 from a 1234567890 scraped storetext value. thank you so much! The help here is so awesome!

Use the Javascript split or substring functions.

Here s.substring(0,5) should work well (0,5 means: Start at first character, then take 5 characters).

1 Like