Is the following statement true?

If two functions, f and g (both R -> R) have the same one-sided limit (left-sided limit, for isntance) in every real point, then f=g. In other words,

Is it true? If it is.. is there a proof? If it isn't could you give me a counter-example? ..

Thanks