to find the first numeric line?

Robert Sneidar slylabs13 at me.com
Thu Jan 31 13:30:48 EST 2013


Sounds like a job for regex??

Bob


On Jan 31, 2013, at 8:53 AM, Tiemo Hollmann TB wrote:

> Hello,
> 
> I have a list with alphanumeric and numeric content. After sorting numeric I
> would like to find the first line with a numeric first char. (the non
> numeric lines before can contain also numeric chars). I would like to have a
> kind of lineoffset(isNumber(first char.),list,), but that's not prebuilt.
> 
> What would be the fastest or most straight forward way to look up such a
> list? Just looping through? Testing the first char every half of the list in
> a loop? Or is there a function I don't think of?
> 
> Thanks for any pointers
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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