christaylor
Technical User
I have a script which reads in data from a connection one line at a time, I then need to removed any white space (could be varying lengths) and replace it with a single character eg ";". The data is actually a list of usernames & passwords and some other info. each of the fields is seperated by white space and i need to collect each element into different variables. I can capture the data to a variable. but i have tried strok and strextract but as the white space is of different lentghs I cannot get the correct info to the other variables.