# SUBSTR ## Definition(s) ### Context #### Sub-context >[! Definition] >A SQL function that extracts a substring from a string variable ## Examples ## Related ## Resources ## Flashcards The below code are generated for use with [Spaced Repetition plugin](https://github.com/st3v3nmw/obsidian-spaced-repetition/) [docs](https://www.stephenmwangi.com/obsidian-spaced-repetition/) A SQL function that extracts a substring from a string variable @@@ [[SUBSTR]]