From f6346b3df1252b9745164d1759fab32e9e1cbea4 Mon Sep 17 00:00:00 2001
From: William S Fulton
-%rename("%(strip:[wx])s") ""; // wxHello -> Hello; FooBar -> fooBar
+%rename("%(strip:[wx])s") ""; // wxHello -> Hello; FooBar -> FooBar
-Here is the table summarizing all currently defined functions with an example -of applying each one (notice that some of them have two names, a shorter one -and a more descriptive one, but the two functions are otherwise equivalent): +Below is the table summarizing all currently defined functions with an example +of applying each one. Note that some of them have two names, a shorter one +and a more descriptive one, but the two functions are otherwise equivalent:
| Function | Returns | Example (in/out) | |||
|---|---|---|---|---|---|
| upper or uppercase | -Upper-case version of the string. | +uppercase or upper | +Upper case version of the string. | ||
| lower or lowercase | -Lower-case version of the string. | +lowercase or lower | +Lower case version of the string. | ||
| PrintIt | printIt | ||||
| ctitle or camelcase | +camelcase or ctitle | String with capitalized first letter and any letter following an underscore (which are removed in the process) and rest in lower case. | print_it | PrintIt | |
| lctitle or lowercamelcase | +lowercamelcase or lctitle | String with every letter following an underscore (which is removed in the process) capitalized and rest, including the first letter, in lower case. | print_it | printIt | |
| utitle or undercase | -Lower case string with underscores inserted before every upper-case + | undercase or utitle | +Lower case string with underscores inserted before every upper case letter in the original string and any number not at the end of string. - Logically, this is the reverse of ccase. | + Logically, this is the reverse of camelcase.PrintIt | print_it |