[TF] "north east west" -> "NEW" ?
Brought to you by:
kenkeys
|
From: phil_g at pobox.c. (P. Gregory) - 2003-03-12 16:54:29
|
I'm trying to figure out the best way to do this in tf. I can get the list of exits in a room from the MUD easily, but I want to reduce the full names to just their initials to put in my status line. This email's subject has an example of what I want to do. In Perl, it'd be a simple 's/\b(\w)\w*\W+/$1/g', but tf does not seem blessed with such things, and I'm at a loss as to a good way to proceed. Any suggestions? -- ph...@po... / phil! / DNRC / http://aperiodic.net/phil/ PGP: ID: D8C75CF5 print: 0A7D B3AD 2D10 1099 7649 AB64 04C2 05A6 --- -- Zelda has a reassuring moral homily concerning God, difficult times, and a variable number of footprints in the sand. She told it to me once, and it cheered me up remarkably. -- Chantal ("Doll's House Part Six", Neil Gaiman) ---- --- -- |