How to replace value in add data row or array

Hi @Rachel7

If you want to replace empty string in an array the below code will help you.

variable1 = variable1.Select(Function(x) x.Replace(" ", “-”)).ToArray()