Anonymous user
Reverse the gender of a string: Difference between revisions
m
→{{header|REXX}}: whitespace
m (→{{header|REXX}}: added another word to ghe "gender" list. -- ~~~~) |
m (→{{header|REXX}}: whitespace) |
||
Line 145:
=={{header|REXX}}==
Not much effort was put into compressing the words (as far as pluralizing and constructing the
<lang rexx>/*REXX program to reverse genderize a text string. */
sw=80-1 /*could use: SW=LINESIZE()-1 */
Line 409:
if datatype(_,'U') then return _'S'
return _'s'</lang>
{{out}}
<pre>
───────────────────────────────────── old ─────────────────────────────────────
When a new-hatched savage running wild about his native woodlands in a grass
Line 432:
excellent blood in hers veins-royal stuff; though sadly vitiated, I fear, by
the cannibal propensity she nourished in hers untutored youth.
</pre>
|