Measurement of jet fragmentation properties at the CERN p-antip collider