Another way... just playing around

Replace tab with empty in tstring
Replace ";" with empty in tstring
Replace "#" with empty in tstring
Replace "&" with linefeed in tstring
Repeat for each line tLine in tstring 
If the number of chars in tLine = 5 then
Put tLine and linefeed after tList
End if
End repeat
Delete char -1 of tList

Sent from my iPhone

> On Jul 17, 2017, at 7:50 PM, jonathandly...@gmail.com wrote:
> 
> 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@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@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to