Mysql getting substring offset (indexOf)?

Is there a way to get substring offset in mysql?

IE

"hello everyone, I'm a newbie programmer" "all" offset 6

I am looking for indexOf equivalent in java / javascript

thank!

+5
source share
1 answer

sorry, I found myself

INSTR(str, substr)
+15
source

All Articles