Simpler code (same as in String.Manipulation.cs). (#15223)
Simpler code (same as in String.Manipulation.cs). (#15223)


ruben-ayrapetyan/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,yizhang82/coreclr,yizhang82/coreclr,ruben-ayrapetyan/coreclr,wtgodbe/coreclr,JosephTremoulet/coreclr,cshung/coreclr,krk/coreclr,ruben-ayrapetyan/coreclr,yizhang82/coreclr,ruben-ayrapetyan/coreclr,cshung/coreclr,JosephTremoulet/coreclr,wtgodbe/coreclr,yizhang82/coreclr,yizhang82/coreclr,mmitche/coreclr,JosephTremoulet/coreclr,mmitche/coreclr,wtgodbe/coreclr,JosephTremoulet/coreclr,yizhang82/coreclr,cshung/coreclr,poizan42/coreclr,JosephTremoulet/coreclr,krk/coreclr,mmitche/coreclr,krk/coreclr,ruben-ayrapetyan/coreclr,ruben-ayrapetyan/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,mmitche/coreclr,poizan42/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,JosephTremoulet/coreclr,krk/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,poizan42/coreclr,mmitche/coreclr,poizan42/coreclr