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...
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.