Java cómo cortar un dtring y recortar al mismo tiempo

String result[] = attributes.trim().split("\\s*,\\s*");
Panicky Puma