Hi Luiz,
Have a look at this method in ERXEOControlUtilities:
/**
* Trims all values from string attributes from the given EO unless the EO
itself
* or the string attribute is flagged as read-only.
*
* @param object the EO whose string attributes should be trimmed
*/
public static void trimSpaces(EOEnterpriseObject object) {
Fabian
> Am 11.08.2016 um 14:32 schrieb Luiz Alfredo Carrara Bertusso
> <[email protected]>:
>
> Hello, nowadays people can use mobile versions of websites and most of them
> use the autocomplete function or the swipe one, the problem is both of them
> add a blank space after the words that come from them.
> The problem is blank spaces at the end of data is not a wished thing, is
> there some property that can automatically remove blank spaces (somethink
> lika a trim) before inserting/updating data in database?
> Thanks
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]