Find some text characters

jonathandlynch at gmail.com jonathandlynch at gmail.com
Mon Jul 17 19:50:44 EDT 2017


Another way, just for fun

Put empty into tnums 
Repeat for each char tchar in tstring 

If isnumber(tchar) = true then
Put tchar after tnums
Else if tnums <> empty then
If the number of chars in tnums = 5 then
Put tnums & linefeed after tnumlist 
End if
Put empty into tnums
End if
End repeat

This should give a list of all 5 number sets

Sent from my iPhone

> On Jul 17, 2017, at 6:45 PM, dunbarx via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> This cries out for regex.
> 
> Thierry?
> 
> 
> 
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list