Package Ganga :: Package Utility :: Module strings
[hide private]
[frames] | no frames]

Module strings

source code

Utilities for string manipulation

Classes [hide private]
  ItemizedTextParagraph
Format a paragraph with itemized text.
Functions [hide private]
 
is_identifier(x)
return true if a string is valid python identifier
source code
 
drop_spaces(x)
drop all spaces from a string, so that "this is an example " becomes "thisisanexample"
source code
Variables [hide private]
  _ident_expr = re.compile(r'^[a-zA-Z_][a-zA-Z0-9_]*$')
  __package__ = 'Ganga.Utility'