Using ucfirst function : ucfirst « String « Perl






Using ucfirst function

    

print ucfirst "i said yes!";

   
    
    
    
  

Related examples in the same category

1.Capitalize with ucfirst
2.Only change first letter to uppercase