to find the first numeric line?
    dunbarx at aol.com 
    dunbarx at aol.com
       
    Thu Jan 31 23:45:19 EST 2013
    
    
  
Just so, and his data was alphanumeric. After sorting, he wanted to find the first line that had a digit as char 1. Since alpha sorts before numbers, he wanted to find the line number where a transition, for example, might have been:
a1
a2
1a --this line
1b
The old fashioned way may have been the best, especially with "repeat for each..."
Craig Newman
-----Original Message-----
From: Robert Sneidar <slylabs13 at me.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Thu, Jan 31, 2013 11:11 pm
Subject: Re: to find the first numeric line?
Great idea, but I think he wants to know the line position in the string. I 
could be wrong. 
Bob
On Jan 31, 2013, at 7:59 PM, Mark Stuart wrote:
> Hi Tiemo,
> I haven’t tried this, but have you taken a look at the FILTER command?
> filter list with “[1-9]*”
> 
> Thanx,
> Mark Stuart
> _______________________________________________
> 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
_______________________________________________
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