For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

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