In that case I think you want this: `headerParts[1].trim()`.

The space is optional!