eliminate use of ArrayHelper by inlining toIntArray() into StringHelper