StringX

Given a string, return a version where all the "x" have been removed. Except an "x" at the very start or end should not be removed.

This exercise was converted to PLM from the excellent exercising site http://codingbat.com/