Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How u convert string "hi pravin how are you?" to
"Hi Pravin How Are You?"

Answer Posted / saravanan

$line = "hi Praveen How are you";

$line =~ s/\b(\w+)\b/ucfirst($1)/e;


print $line;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is echo in shell?

1091


Explore about environment variables?

1026


What does echo mean in scripting?

998


What is shell terminal?

938


How can we find the process name from its process id?

1166


What is computer cli?

883


How can the contents of a file inside jar be read without extracting in a shell script?

1114


Calculate a real number calculation directly from the terminal and not any shell script.

1204


What is inside a seashell?

1127


What lives in a shell?

948


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

2127


What does sh mean?

1039


How to open a read-only file in the shell?

1118


Explain about non-login shell files?

1194


What is another name for a bash shell script that you might see?

1463