Module nameparser
[show private | hide private]
[frames | no frames]

Module nameparser

Various routines that deal with names
Function Summary
  formatfullname(name)
Returns a string of the name, including all fields that are present
  formatsimplefirstlast(name)
Returns the name formatted as First Middle Last
  formatsimplelastfirst(name)
Returns the name formatted as Last, First Middle
  formatsimplename(name)
like formatname, except we use the first matching component
  getfirst(name)
  getfullname(name)
Gets the full name, joining the first/middle/last if necessary
  getlast(name)
  getmiddle(name)
  getparts(name)
Returns (first, middle, last) for name.

Function Details

formatfullname(name)

Returns a string of the name, including all fields that are present

formatsimplefirstlast(name)

Returns the name formatted as First Middle Last

formatsimplelastfirst(name)

Returns the name formatted as Last, First Middle

formatsimplename(name)

like formatname, except we use the first matching component

getfullname(name)

Gets the full name, joining the first/middle/last if necessary

getparts(name)

Returns (first, middle, last) for name. If the part doesn't exist then a blank string is returned

Generated by Epydoc 2.1 on Fri Aug 15 18:58:24 2008 http://epydoc.sf.net