def str_tile(raw: str, length: int) -> str:
    """
    Tile the string to conform with the length.

    :param raw: The string to be tiled
    :param length: The target length.
    :return: The tiled string.
    """

    return raw * (length // len(raw)) + raw[:length % len(raw)]