hello ,
i'm having a problem when working on my project and i need your help
i have a text file with multiple lines and each line have a diffrent length .
what i want to do is to take the line with the highest length and save it's length as max , and then start processing all the other lines and take the last non null value of the data and make a copy of this value along the same line until we reach the max length.
e.g
a b c d e f g r e
q w e r t y
q w e t e q w r t e q w e
etc...
will become :
a b c d e f g r e e e e e
q w e r t y y y y y y y y
q w e t e q w r t e q w e
thanks in advance.