cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
0 Kudos

Add more string constant functions

JMP already has Get Punctuation Characters() and Get Whitespace Characters(), but it is missing couple of functions to get characters, for example letters and digits. 

 

Python's string library does provide these constants, which would be useful to have also in JMP:

  • string.ascii_letters
  • string.ascii_lowercase
  • string.ascii_uppercase
  • string.digits
  • string.printable

In addition to that, it might be helpful to make the functions work in such a manner, that user could pass optional argument, which would let the function to return list instead of string. Of course user can do this fairly easily (if they know how) by using Words().