perl大小写转换

单词首字母大写

$str =~ s/(\w+)/\u$1/

posted on 2012-09-19 14:57  perlman  阅读(4984)  评论(0编辑  收藏  举报

导航