Teoman Haliloglu wrote:
> I'll get used to COS someday :)
Sorry, my previous example is more complicated than is needed to do the job.

ClassMethod mSimplePersonalizeBoilerPlate(text,byref valArray)
{
        s fieldStart=0
        f  {
                s fieldStart=$f(text,"||",fieldStart) q:'fieldStart
                s 
$e(text,fieldStart-2,$f(text_"||","||",fieldStart)-1)=valArray($p(text,"||",2))
        }
        q text
}

Reply via email to