'Creates a new step from string'

@classmethod
def from_string(cls, string, with_file=None, original_string=None):

    lines = strings.get_stripped_lines(string)
    sentence = lines.pop(0)
    line = None
    if (with_file and original_string):
        for (pline, line) in enumerate(original_string.splitlines()):
            if (sentence in line):
                line = (pline + 1)
                break
    return cls(sentence, remaining_lines=lines, line=line, filename=with_file)
