DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
transform text to lowercase and replace space with dash php
$str = 'hello have a good day everyone'; echo str_replace(' ', '-', strtolower($str));
Source by www.tutorialspoint.com #
PREVIOUS
NEXT
Tagged:
#transform
#text
#lowercase
#replace
#space
#dash
#php
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit