>
Home
>
Documentation
>
Latest documentation
>
Filters
>
name
NAVIGATION
Home
Documentation
Downloads
Mail lists and IRC
External websites
Suggestions and contributions
User location map
ACCOUNT LOGIN
You are not logged in
Log in
Create an account
Password reminder
name
Transposes a "LAST, First" name pair.
Example
[
filter name
]
Walsh
,
Kevin
[
/
filter
]
Results in:
Kevin Walsh
Source code
sub
{
my
$val
=
shift
;
return
$val
unless
$val
=
~
/
,
/
;
my
(
$last
,
$first
)
=
split
/
\s
*
,
\s
*
/
,
$val
,
2
;
return
"
$first
$last
"
;
}
Category:
Filters
Last modified by:
Kevin Walsh
Modification date: Thursday 15 February 2007 at 10:00 PM (EST)
Home
|
Legal nonsense
|
Privacy policy
|
Contact us
Copyright © 2001-2012
Cursor Software Limited
. All Rights Reserved.