Migrate to String.trimmed method