If you are using MySQL, this is what you need:
SELECT SUBSTRING_INDEX(SUBSTRING_INDEX('VER="1">TYP>4/TYP>VAR>SHIPPER</VAR</INCOTERMS', "</VAR", 1), "VAR>", -1);
For example:
SELECT SUBSTRING_INDEX(SUBSTRING_INDEX('VER="1">TYP>4/TYP>VAR>SHIPPER</VAR</INCOTERMS', "</VAR", 1), "VAR>", -1) as result;
+----------+
| result |
|----------|
| SHIPPER |
+----------+
1 row in set
Time: 0.011s
If you are using another db, please let us know which one it is
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…