gsr
02/10/2023, 6:26 PMTheTable = HTMLDocument.select("##tableID");
TheTable.addClass("styled-table");
dateFields = TheTable.select('tr td:nth-child(4)');
dateFields.forEach( field => {
field.innerText.split(/\s/)[0]);
});
i am trying to remove the second value from the td of each row by looping over it which is seperated by or spaceEvil Ware
02/11/2023, 12:55 AMgsr
02/11/2023, 3:16 AMdateFields = TheTable.select('tr td:nth-child(4)');
for ( field in dateFields ) {
values = ListToArray(field.innerText, " ");
values = ArrayDeleteAt(values, 2);
field.innerText = ArrayToList(values, " ");
}
unless anyone has a better way of doing it more good wayEvil Ware
02/11/2023, 3:35 AM