Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

first letter capital of every word in php

$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati
ucfirst($clientname);//Ankur Prajapati

$clientname = "ANKUR PRAJAPATI";
ucfirst(strtolower($clientname));//Ankur Prajapati
 
PREVIOUS NEXT
Tagged: #letter #capital #word #php
ADD COMMENT
Topic
Name
4+6 =