Added a function to StringEditor to align string using a given char as
pivot.