Name : perl-Text-Capitalize
| |
Version : 1.5
| Vendor : openSUSE
|
Release : 1.8
| Date : 2024-02-01 02:27:36
|
Group : Development/Libraries/Perl
| Source RPM : perl-Text-Capitalize-1.5-1.8.src.rpm
|
Size : 0.03 MB
| |
Packager : http://bugs_opensuse_org
| |
Summary : capitalize strings (\"to WORK AS titles\" becomes \"To Work as Titles\")
|
Description :
Text::Capitalize provides some routines for *title-like* formatting of strings.
The simple *capitalize* function just makes the inital character of each word uppercase, and forces the rest to lowercase.
The *capitalize_title* function applies English title case rules (discussed below) where only the \"important\" words are supposed to be capitalized. There are also some customization features provided to allow the user to choose variant rules.
Comparing *capitalize* and *captialize_title*:
Input: \"lost watches of splitsville\" capitalize: \"Lost Watches Of Splitsville\" capitalize_title: \"Lost Watches of Splitsville\"
Some examples of formatting with *capitalize_title*:
Input: \"KiLLiNG TiMe\" capitalize_title: \"Killing Time\"
Input: \"we have come to wound the autumnal city\" capitalize_title: \"We Have Come to Wound the Autumnal City\"
Input: \"ask for whom they ask for\" captialize_title: \"Ask for Whom They Ask For\"
Text::Capitalize also provides some functions for special effects such as *scramble_case*, which typically would be used for this sort of transformation:
Input: \"get whacky\" scramble_case: \"gET wHaCkY\" (or something similar)
|
RPM found in directory: /vol/rzm3/linux-opensuse/ports/i586/tumbleweed/repo/oss/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Text::Capitalize)
perl-Text-Capitalize
Requires :