How can I use this line: $string .= '.' if $string !~ /[.!?]$/; in the code below?
Change it to $message .= '.' if $message !~ /[.!?]$/; and just replace that whole block of code with that one line.
But really, you should listen to merlyn's admonition and refrain from deploying this script!
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: making first letter of all words in array upper case
by sauoq
in thread making first letter of all words in array upper case
by iamrobj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |