|
Question : Trimming
|
|
I am trying to Trim the left and right spaces out of data on SQL execution. I think this should work:
MyField: Trim([MyTable].[MyField])
But it doesn't. The spaces I am trying to trim are full width Japanese 16-bit characters. Could this have anything to do with it? If so, is there a workaround?
Mike
|
|
Answer : Trimming
|
|
Found this link: http://www.cyberactivex.com/UnicodeTutorialVb.htm Explaining the way Japanese (and other languages) are stored. You can see the way the strings are recorded (one, two or three bytes per character) and use that for removing the space string from the text by using e.g. a MID() function.
Nic;o)
|
|
|
|