Is this a reliable way to measure an arc

I have a brass rod with a 90 degree bend. I want to measure the outer and inner radii by placing a piece of string along both of them, and then straightening the string out to determine the linear measurement. Is this an accurate method?