Problem with SetBodyGroups when a bodygroup has more than 9 groups

I want to change all bodygroups of a (player)model with one single string but if I want to change the first bodygroup to 19 gmod thinks i want to change the first bodygroup to 1 and the second to 9.
Is changing the bodygroups with

Entity:SetBodygroup instead of

Entity:SetBodyGroups the only way? (change each bodygroup instead of all at once)

SetBodyGroups automatically calls SetBodygroup for you internally, but it’s basically the same stuff, so yeah, use SetBodygroup

i found a workaround - if you seperate all bodygroup numbers using a character like “;” you can use string.explode and save it somewhere as one single string (“0;11;5;1;1;1;0” for example)