Hello,
It's a simple question, but I can't find the answer in the forum.
I have a listView that I need to populate line by line with four columns of string data fields.
To have them all aligned up visually (due to various lengths of data in the individual fields) is proving difficult.
Is there a way in which I can concatenate the four fields into a format such that it will force the lengths of each data string field Eg.
Format.string("#######",strOne; "###",strTwo; "####",strThree; "###",strFour) so that they all line up vertically?
So here, strOne will be padded to 6 characters in length, strTwo to 3 characters in length etc
Thanks,
Azhar
It's a simple question, but I can't find the answer in the forum.
I have a listView that I need to populate line by line with four columns of string data fields.
To have them all aligned up visually (due to various lengths of data in the individual fields) is proving difficult.
Is there a way in which I can concatenate the four fields into a format such that it will force the lengths of each data string field Eg.
Format.string("#######",strOne; "###",strTwo; "####",strThree; "###",strFour) so that they all line up vertically?
So here, strOne will be padded to 6 characters in length, strTwo to 3 characters in length etc
Thanks,
Azhar