Added TrimEnd.
Implemented Trim.
WA for the compiler limitation with static.