For a start, yes.  I'd also want to think about where the refactored method should live and what it should look like.  There's gotta be a utility library for converting collections of Strings into whitespace-delimited Strings, and maybe that method wants to be a method on an object rather than what amounts to a private procedure.