Run ❯
×
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":