I have some code that assigns text to the elements in my array if certain things are met.
Array(0) will equal "Fail 1" - if it fails the check
Array(1) "" - will be blank if it passed the check
Array(2) will equal "Fail 3" - if it fails the check
I then use join function to get "Fail 1,,Fail 3"
How do I get it to ignore the blank value in the 2nd element.
Would really appreciate any help!
0 · ·