Post Reply 
How to use $LST(Count) in Replace ?
Dec. 22, 2012, 10:54 PM
Post: #2
RE: How to use $LST(Count) in Replace ?
Code:
[Patterns]
Name = "Example"
Active = FALSE
Limit = 4096
Match = "<pre\1/pre>"
        "$TST(($GET(PreIdC)+)=$LST(Count)|*)$SET(PreIdC=$GET(i))"
Replace = "<table border="0" id="pre$GET(PreIdC)"><tr><td><pre\1/pre></td></tr></table>"

HTH
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to JJoe for this post:
prxymouse
Post Reply 


Messages In This Thread
RE: How to use $LST(Count) in Replace ? - JJoe - Dec. 22, 2012 10:54 PM
RE: How to use $LST(Count) in Replace ? - JJoe - Dec. 23, 2012, 05:26 PM

Forum Jump: