Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

explode string and get array element php

$string = "Hello World";
$word = explode(' ',$string)[1];

//result:World
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #explode #string #array #element #php
ADD COMMENT
Topic
Name
1+7 =