substring in big query

Viewed 43

the following substring doesnt work in big query:

substring(note.summary, charindex('[', note.summary)+1, charindex(']', note.summary) - charindex('[', note.summary) -1) as alpha ,

with the error function not found: charindex Would you be able to help me out? I'm so confused

1 Answers
Related