Lines Matching refs:substring
31 if(!(ctext=decryptBlock(x.substring(cur,closetag+tag.length+3)))) {
34 ret+=x.substring(pos,cur) + ctext;
37 ret+=x.substring(pos);
65 if(!(ctext=encryptBlock(x.substring(cur,closetag+tag.length+3)))) {
68 ret+=x.substring(pos,cur) + ctext;
71 ret+=x.substring(pos);
85 lock=getTagAttr(data.substring(0,tagend+1),"LOCK");
88 collapsed=getTagAttr(data.substring(0,tagend+1),"COLLAPSED");
95 if(!(ptext=decryptTextString(data.substring(tagend+1,ptend),key))) {
108 return(opentag.substring(loff+attr.length+1,t));
110 return(opentag.substring(loff+attr.length+1,opentag.length-1));
135 lock=getTagAttr(data.substring(0,tagend+1),"LOCK");
138 collapsed=getTagAttr(data.substring(0,tagend+1),"COLLAPSED");
145 if(!(ctext=encryptTextString(data.substring(tagend+1,ptend),key))) {