Exemplo n.º 1
0
def getfirst(text, delim=' '):
    """
    get first word from string with delimiter '-'
    usage: {{ string|getfirst }}
    """
    return get_first_part(text, delim)
Exemplo n.º 2
0
def getfirst(text, delim=' '):
  return get_first_part(text, delim)