W3Schools.com (2024)

Example

Search for "3" in string "W3Schools.com", and return position:

SELECT INSTR("W3Schools.com", "3") AS MatchPosition;

Try it Yourself »

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)

Parameter Values

Parameter Description
string1 Required. The string that will be searched
string2 Required. The string to search for in string1. If string2 is not found, this function returns 0

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Search for "COM" in string "W3Schools.com", and return position:

SELECT INSTR("W3Schools.com", "COM") AS MatchPosition;

Try it Yourself »

Example

Search for "a" in CustomerName column, and return position:

SELECT INSTR(CustomerName, "a")
FROM Customers;

Try it Yourself »


W3schools Pathfinder

Track your progress - it's free!

W3Schools.com (2024)
Top Articles
CFDs vs options: what are the differences?
Your Guide: Healthcare Claims Processing Steps | 6 Degrees Health
Pangphip Application
Valley Fair Tickets Costco
CKS is only available in the UK | NICE
Corpse Bride Soap2Day
Azeroth Pilot Reloaded - Addons - World of Warcraft
Ladyva Is She Married
Nier Automata Chapter Select Unlock
How to Store Boiled Sweets
Funny Marco Birth Chart
Insidekp.kp.org Hrconnect
Mbta Commuter Rail Lowell Line Schedule
Brett Cooper Wikifeet
Uky Linkblue Login
Craigslist Southern Oregon Coast
Ups Print Store Near Me
Myhr North Memorial
Tips and Walkthrough: Candy Crush Level 9795
Directions To Cvs Pharmacy
Discord Nuker Bot Invite
Pulitzer And Tony Winning Play About A Mathematical Genius Crossword
Farm Equipment Innovations
Stickley Furniture
Skepticalpickle Leak
Barbie Showtimes Near Lucas Cinemas Albertville
Lininii
Kamzz Llc
County Cricket Championship, day one - scores, radio commentary & live text
Pfcu Chestnut Street
Davita Salary
Miss America Voy Board
Ixl Lausd Northwest
Arcane Odyssey Stat Reset Potion
Junior / medior handhaver openbare ruimte (BOA) - Gemeente Leiden
Natashas Bedroom - Slave Commands
Enjoy4Fun Uno
Collier Urgent Care Park Shore
How To Get Soul Reaper Knife In Critical Legends
Banana Republic Rewards Login
Trizzle Aarp
Colorado Parks And Wildlife Reissue List
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Tedit Calamity
Kutty Movie Net
2024-09-13 | Iveda Solutions, Inc. Announces Reverse Stock Split to be Effective September 17, 2024; Publicly Traded Warrant Adjustment | NDAQ:IVDA | Press Release
Fedex Passport Locations Near Me
Vérificateur De Billet Loto-Québec
Borat: An Iconic Character Who Became More than Just a Film
Guy Ritchie's The Covenant Showtimes Near Look Cinemas Redlands
10 Bedroom Airbnb Kissimmee Fl
What Is The Gcf Of 44J5K4 And 121J2K6
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 6205

Rating: 4.2 / 5 (43 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.