<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lstrip_ws_and_chars(string, chars):
 """Remove leading whitespace and characters from a string. Parameters string : `str` String to strip. chars : `str` Characters to remove. Returns ------- `str` Stripped string. Examples -------- 'x. ' """

    res = string.lstrip().lstrip(chars)
    while len(res) != len(string):
        string = res
        res = string.lstrip().lstrip(chars)
    return res