for Wm 6.5, convertToValues has parameter to trim white spaces.
If I pass flat file data as a string and set the trim flag to both.
flat file record is created and each field is trim.
But if I pass flat file data as stream, flat file record is created, but each field is not trimmed as expected.
workaround is possible by trimming individual fields but why convertTovalues doesnt work with stream.