Actually it depends...
Yes for replacing throttle with a threaded end. Available in one foot increments.
The shut off typically does not have an end fitting. Usually only come in 2 lengths I think. I had one about 3 feet too long. I disconnected it, Laid it out to correct length and marked the outer sleeve. I then pulled back on the handle equal to an amount the the control wire was sticking out originally and cut strait across with a cutting
wheel. Push handle back in and you are good to go. Do not cut it with a crushing type tool (pliers, wire cutters, cable cutters, etc) or you will get to buy a new one.