select LOCATE(‘<page1>’,a.content) from text as a;
select substring(a.content, 1, LOCATE(‘<page1>’,a.content)-1 ) from text as a;
UPDATE text a set a.content=substring(a.content, 1, LOCATE(‘<page1>’,a.content)-1 )
select LOCATE(‘<page1>’,a.content) from te…
select LOCATE(‘<page1>’,a.content) from text as a;
select substring(a.content, 1, LOCATE(‘<page1>’,a.content)-1 ) from text as a;
UPDATE text a set a.content=substring(a.content, 1, LOCATE(‘<page1>’,a.content)-1 )