>>When you need just trim 1 element, use 'RTRIM(MyArray(nIndex) )'
>>For all array items no way except lop through array:
>>
>>local lnIndex, lnCount
>>m.lnCount = alen(MyArray)
>>for m.lnIndex = 1 to m.lnCount
>> MyArray[m.lnIndex] = rtrin(MyArray[m.lnIndex])
>>endfor
>>
>>
>>>How do you trim the blanks out of an elememt of an array?
>>>example...I have an element called "my element "....I need
>>>the to trim right side of this element...
>Hi Vlad and thanks for you reply....:) and it works....:))))
To be more presize, the above code should not work, since it misspelled rtrim function :) BTW, you should be able to find info about all string functions in a Help file. There are lots of them...
If it's not broken, fix it until it is.
My Blog