About 1,270 results
Open links in new tab
  1. SUBSTR and INSTR SQL Oracle - Stack Overflow

    I've started using SUBSTR and INSTR in Oracle but I got confused when I came across this. SELECT PHONE, SUBSTR (PHONE, 1, INSTR (PHONE, '-') -1) FROM DIRECTORY; So I know SUBSTR …

  2. MySQL INSTR () Function - W3Schools

    Definition and Usage The INSTR () function returns the position of the first occurrence of a string in another string. This function performs a case-insensitive search. Syntax INSTR (string1, string2)

  3. SUBSTR and INSTR functions in Oracle SQL - DEV Community

    Dec 8, 2024 · In SQL, both the SUBSTR (or SUBSTRING in some databases) and INSTR functions are used to work with strings, but they serve different purposes. Here's a breakdown of each function …

  4. How to Use INSTR in SQL? Find Substrings Easily with Examples

    Feb 9, 2024 · Understanding how to use INSTR in SQL has been a game-changer for me. It allows for pinpoint accuracy in locating the position of a substring within a string, opening up a plethora of …

  5. Oracle / PLSQL: INSTR Function - TechOnTheNet

    This Oracle tutorial explains how to use the Oracle / PLSQL INSTR function with syntax and examples. The Oracle / PLSQL INSTR function returns the location of a substring in a string.

  6. SQL | String functions - GeeksforGeeks

    Dec 1, 2025 · The INSTR () function is used to find the position of the first occurrence of a substring within a string. It returns the position (1-based index) of the substring.

  7. Oracle INSTR Function

    The Oracle INSTR () function searches for a substring in a string and returns the position of the substring in a string.

  8. INSTR - Oracle Help Center

    The INSTR functions search string for substring. The search operation is defined as comparing the substring argument with substrings of string of the same length for equality until a match is found or …

  9. Learn INSTR in SQL: The Only Guide You Need - Simplilearn

    Sep 10, 2025 · The function INSTR in SQL seeks out substrings in a string and is a widely-used SQL function. Learn the Insert syntax, INSTRA () parameter arguments, and more!

  10. Using string functions: SUBSTR (), TRIM (), UPPER (), LOWER ()

    Usually the first argument is the string we want to manipulate. Here are some commonly used string functions: The SUBSTR() function takes the string we hand it in the parentheses and returns a part …

    Missing:
    • instr
    Must include: