DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+4 =
Submit