Need to parse a string in Javascript
Solved/Closed
Related:
- Need to parse a string in Javascript
- How to disable javascript in tor - Guide
- Disable javascript chrome - Guide
- Javascript download for mobile - Guide
- How to enable javascript on ps4 - Guide
- Vba select case string contains - Guide
1 response
Well, I wrote it myself...thanks for the help...
var thevalveis=tagpart(found);
for (var ti=1;ti<thevalveis.length;ti++) {
if (thevalveis.substring(ti,ti+1)=='|') {
var thenewvalve=thevalveis.substring(0,ti);
var thenewcost=thevalveis.substring(ti+1,thevalveis.length);
}
}
pastedelement.value=thenewvalve;
var thevalveis=tagpart(found);
for (var ti=1;ti<thevalveis.length;ti++) {
if (thevalveis.substring(ti,ti+1)=='|') {
var thenewvalve=thevalveis.substring(0,ti);
var thenewcost=thevalveis.substring(ti+1,thevalveis.length);
}
}
pastedelement.value=thenewvalve;