I don't think listdeleteat() would produce what he wants actually --
'cause he's wanting to replace those list items, not remove them. If I
read it correctly.

> Well, you could use listdeleteat() to remove them.  That
> would probably
> be more human readable later.  It would also handle
> boundary cases (ie
> the first and last items) easily and cleanly.

> If, for some reason, you really want to use a regex, it
> certainly can be
> done.  :-)

> --Ben

> Tony Hicks wrote:
>> Does anyone know if there's a way to replace an unkown
>> number of
>> consequitive 0s in a list with the previous number..
>>
>> For instance...
>>
>> 147,0,119,137,0,0,0,154 would become..
>>
>> 147,147,119,137,137,137,137,154
>>
>> Thanks
>> Tony


s. isaac dealey   954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194863
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to