Re: Remove blank space at the end of all insert/update
Re: Remove blank space at the end of all insert/update
- Subject: Re: Remove blank space at the end of all insert/update
- From: Fabian Peters <email@hidden>
- Date: Thu, 11 Aug 2016 14:52:47 +0200
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@hidden>:
>
> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden