DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
get only the first two word from a string php
$message = preg_split('/[s,]+/', $message, 3)
PREVIOUS
NEXT
Tagged:
#word
#string
#php
ADD COMMENT
Topic
COMMENT
Name
3+8 =
Submit