|
Delete Item Array
|
Informations rapides |
|
|
Informations détaillées
|
Description :
Suppression d'un élément dans un tableau (array), cet exemple utilise l'objet Dictionary
Portion de code
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<% Set myArray = CreateObject("Scripting.Dictionary")
myArray("abc") = true myArray("def") = true myArray("123") = true myArray("ghi") = true
response.write "Nbr total : " & myArray.count myArray.remove("123") response.write "Nbr restant : " & myArray.count response.write join(myArray.keys,"<br>") %> |
|
Informations & Services |
 |
|
|
 |
Newsletter
Autre Sources
Tips
|