collection of characters
.In this chapter, string functions and their usage to manipulate strings is discussed. If the function matches then the function returns the first character position of the text in the string. If the text didn’t match then the function returns false.
[php]
<!DOCTYPE html>
<html>
<body>
<?php echo strpos("SP Lessons", "Lessons"); ?>
</body>
</html>
[/php]
Output: