BEST RIVEN KOREA DOMINATING CHALLENGER! | CHALLENGER RIVEN TOP GAMEPLAY | Patch 13.23 S13

Поделиться
HTML-код
  • Опубликовано: 17 янв 2025

Комментарии • 1

  • @talalzahid2241
    @talalzahid2241 Год назад +1

    def check_string_multiline(text):
    lines = text.split('
    ')
    surname = ''
    name = ''
    first_name_search = True
    split_string = ''
    for line in lines:
    search_string = line.strip() # Remove leading/trailing whitespaces
    if first_name_search or split_string:
    if len(search_string) >= 2 and (search_string[0] in ('1', '2') and (search_string[1] == '.' or search_string[1].isspace())):
    split_length = 2 if len(search_string) >= 2 else 1
    split_string = search_string[:split_length]
    search_string = search_string[split_length:].strip()
    result_string = process_name_string(search_string)
    if result_string:
    if first_name_search:
    surname = result_string
    first_name_search = False
    else:
    name = result_string
    break
    return surname, name