def create_resumo(fulltext):
    """
    Get the first `resumo_length` (hard-coded) characters from `fulltext` 
    that appear after `beginning_marker` (hard-coded) or small variations 
    of it. If `beginning_marker` is not found, return `fulltext`.
    """
    beginning_marker = 'resolve'
    resumo_length    = 500

    if fulltext == None:
        return None
    
    marker_pos = fulltext.find(beginning_marker)
    if marker_pos != -1:
        marker_pos = marker_pos + len('resolve')
        
        if fulltext[marker_pos] == 'u':
            marker_pos = marker_pos + 1
        if fulltext[marker_pos] == ':':
            marker_pos = marker_pos + 1
        return fulltext[marker_pos: marker_pos + resumo_length].strip()
    
    return fulltext[:resumo_length].strip()