C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL MID() FunctionMID(str,pos,len) is a Sring function of MySQL. This method returns string of given length and position. Syntax
select mid(str, pos, len); Example 1
Select mid('mysql', 3, 4);
Output:
Example 2
Select mid('TheDeveloperBlog', 6, 6);
Output:
Next TopicMySQL String
|