Characteristic function of the positive part of a random variable and related results, with applications