Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Strings
The indexOf() Method
indexOf() returns the position of the first occurrence of a value in a string.
Find "welcome":