Skip to main content
Home
  • Tutorials
    • Quality Assurance
    • Software Development
    • Machine Learning
    • Data Science
  • About Us
  • Contact
programsbuzz facebook programsbuzz twitter programsbuzz linkedin
  • Log in

Main navigation

  • Tutorials
    • Quality Assurance
    • Software Development
    • Machine Learning
    • Data Science
  • About Us
  • Contact

MySQL: String Functions List

Profile picture for user arilio666
Written by arilio666 on 02/18/2022 - 09:46

Here is a list of string functions available in MySQL.

  1. ASCII: This gives out the ASCII value for the specific character.
  2. CHAR_LENGTH: This gives out the length of the string.
  3. CHARACTER_LENGTH: This too gives out the length of a string.
  4. CONCAT: This function adds two or more expressions same together.
  5. CONCAT_WS: This function adds one or more expressions together followed by a separator.
  6. FIELD: This one returns the index of a value in a list of values.
  7. FIND_IN_SET: This function returns the position of a string within list of strings
  8. FORMAT: This function formats a number like "*,***,***.**", rounded to a specified number of decimal places.
  9. INSERT: This function inserts a string within a string at the targeted position and for a certain number of characters
  10. INSTR: This function returns the exact position of the first occurrence of a string in another string
  11. LCASE: This function converts string to lower-case
  12. LEFT: This function extracts characters from a string from the left side.
  13. LENGTH: This function returns the precise length of a string usually in bytes.
  14. LOCATE: This function returns the position of the first occurrence of a substring in a string
  15. LOWER: This function converts a string to lower-case
  16. LPAD: This function Left-pads a string with another string.
  17. LTRIM: This function removes leading trail spaces from a string
  18. MID: This one extracts a substring from a string from any place.
  19. POSITION: This one returns the position of the first occurrence of a substring in a string.
  20. REPEAT: This function repeats a string as many times as specified.
  21. REPLACE: This function replaces occurrences of a substring within a string with a new substring.
  22. REVERSE: This function reverses a string.
  23. RIGHT: This function extracts characters from a string from right side.
  24. RPAD: This function right-pads a string with another string.
  25. RTRIM: This one removes trailing spaces from string.
  26. SPACE: This function returns string of the specified number of space characters.
  27. STRCMP: This compares two strings.
  28. SUBSTR: This function extracts substring from a string from any place.
  29. SUBSTRING: This function extracts substring from a string from any position.
  30. SUBSTRING_INDEX: This one returns a substring of a string before delimiter occurs according to the specified number.
  31. TRIM: This function eliminates leading and trailing spaces from a string.
  32. UCASE: This function converts a string to upper-case
  33. UPPER: This also converts a string to upper-case
Related Content
MySQL Tutorial
MySQL: Numeric Functions List
MySQL: Date Functions List
Tags
MySQL
  • Log in or register to post comments

Choose Your Technology

  1. Agile
  2. Apache Groovy
  3. Apache Hadoop
  4. Apache HBase
  5. Apache Spark
  6. Appium
  7. AutoIt
  8. AWS
  9. Behat
  10. Cucumber Java
  11. Cypress
  12. DBMS
  13. Drupal
  14. GitHub
  15. GitLab
  16. GoLang
  17. Gradle
  18. HTML
  19. ISTQB Foundation
  20. Java
  21. JavaScript
  22. JMeter
  23. JUnit
  24. Karate
  25. Kotlin
  26. LoadRunner
  27. matplotlib
  28. MongoDB
  29. MS SQL Server
  30. MySQL
  31. Nightwatch JS
  32. PactumJS
  33. PHP
  34. Playwright
  35. Playwright Java
  36. Playwright Python
  37. Postman
  38. Project Management
  39. Protractor
  40. PyDev
  41. Python
  42. Python NumPy
  43. Python Pandas
  44. Python Seaborn
  45. R Language
  46. REST Assured
  47. Ruby
  48. Selenide
© Copyright By iVagus Services Pvt. Ltd. 2023. All Rights Reserved.

Footer

  • Cookie Policy
  • Privacy Policy
  • Terms of Use