I'm using this:
Lcase = 'abcdefghijklmnopqrstuvwxyz'
Ucase = 'QWERTYUIOPASDFGHJKLZXCVBNM()'
SPEC = "!@#$%^&*()_/;'[]=<>?:{}|+"
--
chars = Lcase || Ucase || SPEC || '"'
NBRS = '1212 abc45lkj66"54du_______f-9876.,'.translate(' ', chars );
NBRS = NBRS.space;
nbr_words = NBRS.Words;
say NBRS;
say nbr_words;
say 'Last nbr is :' NBRS.word(NBRS.Words);
To produce this:
1212 45 66 54 -9876.,
5
Last nbr is : -9876.,
I don't see in TnRL nor in NetRexx 2 (22 May 2009) any way to specify a range of Characters.
???
BobH
_______________________________________________
Ibm-netrexx mailing list
[hidden email]