Jethro commented on a Page, Caps On 1st Letter  -  Nov 22, 2010

Styleofglobal, I'm not sure which one you want, so these two snippets below are for you to pick:

This one below will make the first letter of each and every word in a sentence in CAPS and BOLD:

on *:input:*:{
  if ($left($1,1) != /) { 
  haltdef
    say $regsubex($1-,/(\w+)/g,$+($chr(2),$upper($left(\t,1)),$chr(2),$mid(\t,2))) 
  }
}

e.g. Hello Styleofglobal, I's A Beautiful Day

This one below will only make the first letter of a sentence in CAPS and BOLD:

on *:input:*:{
  if ($left($1,1) !isin / $readini($mircini,text,commandchar)) && (!$ctrlenter) && (!$inpaste) {
    say $regsubex($1-,/^(.)/,$+($chr(2),$upper(\1),$chr(2)))
    halt
  }
}

e.g. Hello Styleofglobal, it's a beautiful day.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.