Answers for "find the word by the position in string php"

PHP
1

find index of a character in a string php

<?php
echo strpos("I love php, I love php too!","php");
?>
Posted by: Guest on May-23-2021
-1

get specific word from string php

$myString = "input/name/something";

$strArray = explode('/',$myString);
$name = $strArray[1];
$something = $strArray[2];
Posted by: Guest on October-26-2020

Code answers related to "find the word by the position in string php"

Browse Popular Code Answers by Language