Text analysis with SQL String functions. Part 1

235. String functions. Part 1

Working with text is not always about regular expressions. Although regular expressions look extremely powerful, it’s way easier to make a mistake composing an incorrect search pattern. That’s why it’s super important to be fluent with all non-regex string functions.

In the next couple of lessons we’ll go over all useful string functions (there’re a bunch more but I haven’t used them in the past 10 years, so I bet you won’t need them either).

SPLIT_PART(text_input, delimiter, part_to_select)

I’d say the SPLIT_PART() function is the one I use...

“well worth the money”
Sign up and check out 37 free lessons and exercises.

Anatoli Makarevich, author of SQL Habit About SQL Habit

Hi, it’s Anatoli, the author of SQL Habit. 👋

SQL Habit is a course (or, as some of the students say, “business simulator”). It’s based on a story of a fictional startup called Bindle. You’ll play a role of their Data Analyst 📊 and solve real-life challenges from Business, Marketing, and Product Management.

SQL Habit course is made of bite-sized lessons (you’re looking at one atm) and exercises. They always have a real-life setting and detailed explanations. You can immediately apply everything you’ve learned at work. 🚀

“well worth the money”

Fluent in SQL in a month

Master Data Analysis with SQL with real life examples from Product Management, Marketing, Finance and more.
-- Type your query here, for example this one -- lists all records from users table: SELECT * FROM users
Loading chart... ⏳