title: Selecting a specific string before/ after a character ("-") in Pyspark
body: <p>I've used substring to get the first and the last value. But how can I find a specific character in a string and fetch the values before/ after it</p>