read the first line of a string `my_string`,my_string.splitlines()[0]