locate() function

See the locate statement documentation.