Is there a way to search, from a string, a line containing another string and retrieve the entire line?
For example:
string = """
qwertyuiop
asdfghjkl
zxcvbnm
token qwerty
asdfghjklf
""";
retrieve_line("token") = "token qwerty"