
tiagomacul
Mega Sage
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 04-19-2018 06:00 AM
var vchar1 = "{";
var vchar2 = "}";
var vsearch = "";
var vstring = "TRYTOPUT{MYSTRING}HERE";
varpos1 = 0;
varpos2 = 0;
varpos1 = vstring.indexOf(vchar1);
varpos2 = vstring.indexOf(vchar2, varpos1 );
vsearch = vstring.substring(varpos1+1, varpos2);
gs.print(vsearch);
Labels:
- 514 Views