Correct length V8 throttle cable

I have an OE throttle cable that is only 18" long. I thought it came out of a Duster that had a 318. However, looking up replacement cables shows a length of ~24". Is 24" correct and if so...what did an 18" cable fit?

Thanks.