How to split a string which contains ? in it

0
I want to split a string which contains '?' in it but it is not allowing me to do as it shows an error "Dangling meta character ?" How to resolve this issue?
asked
1 answers
1

You can escape it by preceding the ‘?’ with a backslash like so: ‘\?’

answered