By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| SUBSTR(`text`,POSITION("ab as" IN `text`),LENGTH(`text`)) |
|---|
| ab as ablmnr |
| ab as abltere |
| SUBSTR(`text`,POSITION("ab as" IN `text`),LENGTH(`text`)) |
|---|
| ab astest |
| ab astestabc |