Unfortunately the image is too fuzzy to verify the ID of the "worms."
Judging by their size, also that they are on an over-ripe strawberry, my best guess is that the critters are millipedes. (These small fellows have many very short legs, with one pair per body segment.) If they are millipedes they don't damage intact and healthy fruits.
Even so, they are often found in a strawberry patch because, as you likely know, the rare very fragile.
"Centipedes and Millipedes" has considerable info about millipedes. (http://ipm.ucanr.edu/PMG/PESTNOTES/pn7472.html)
The easiest way to manage them in you r berry patch is to pick the fruits daily.