throttle linkage cable Q

I purchased a throttle cable of the correct length from firewall to holdown ferrule but it has no inner steel cable so I will need to pirate a longer one from another throttle cable. I will need to cut/shorten this one & on the pedal end the mini cable has a crimped very small (steel?) ball. how do I duplicate this when I cut that inner cable to the right length? thank you for your time. RR