Tag should be


    <cfset GetDiscountList.DiscountList =
       Replace(GetDiscountList. DiscountList, ";;", ";0;", "ALL")>


I think that the

    speed of my brain < speed of my fingers < speed of my mouth



At 3:52 PM -0700 3/10/01, Dick Applebaum wrote:
>Why not:
>
>    <cfset GetDiscountList.DiscountList =
>       Replace(GetDiscountList. DiscountList, ";;", ;0; "ALL")>
>
>
>HTH
>
>Dick
>
>
>At 3:38 PM -0500 3/10/01, Duane Boudreau wrote:
>>Hi all,
>>
>>I have a list that I am working on that is 4000+ items plus. The list
>>unfortunately contains several "empty" items. Is there a way, other than
>>using Replace() to replace the empty items with a 0?
>>
>>This is what I have to deal with, but it is talking 1200 ms to process and
>>there is two more function calls just like it.
>>
>><CFSET ProductDiscount = Replace(ValueList(GetDiscountList.DiscountList,
>>";"), ";;", ";0;", "ALL")>
>>
>>PS, this is not my code. This is code I am trying to optimize.
>>
>>Thanks,
>  >Duane
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to