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
What are the 3 standard streams in linux?
How do I stop script errors?
What is the command to find out today's date?
What makes c shell a more preferable option than the bourne shell?
Is cmd a shell?
Explain about login shell?
How to get the last line from a file using just the terminal?
What language is bash?
How to get the first line from a file using just the terminal?
What happens on a system call?
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
Is shell script a programming language?
Is shell and terminal the same?
Why is a script important?
what is info area how many types?