Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A question about a ARRAY?
Message
 
 
À
04/10/2000 16:57:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00425026
Message ID:
00425028
Vues:
10
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.com
ICQ #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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform