Corrected the implementation of string.alignRight().