Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gets the content between two tags
#2
Code:
Copy      Help
str s1 a; int t
foreach s1  _s
,if(s1.begi("#if")) t=1; continue
,if(s1.begi("#endif")) t=0; continue
,if(t=1) a.addline(s1 1)        
out a


Messages In This Thread
Gets the content between two tags - by Davider - 10-28-2022, 03:38 AM
RE: Gets the content between two tags - by Kevin - 10-28-2022, 12:42 PM
RE: Gets the content between two tags - by Kevin - 10-28-2022, 07:49 PM
RE: Gets the content between two tags - by Kevin - 11-02-2022, 01:49 PM
RE: Gets the content between two tags - by Kevin - 11-03-2022, 04:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)