Fractional sobolev spaces and functions of bounded variation of one variable