Is there a way to format a tab delimited array of string '1328 David Barr X...' to display in a data table with strings of 'FolderID, Firstname LastName, Status'?
That is replacing 1st & 3rd tab with a comma and all X’s, 1’s, 3’s with Cancelled, No Show with Reserve, No Show without Reserve.
For example:
1328, David Barr, Cancelled
123, Lala Land, No Show with Reserve
456, Santa Clause, No Show without Reserve
I can’t simply use replace(“X”, “Cancelled”) or replace(vbtab, “,”) because if there is an “x” somewhere in the name or the tab between the first & last name, it’ll replace also. Does vb has a replace from an i-th char? Keep in mind the result string is actually an array of string separated by a tab, not just a string.
Thanks in advance
That is replacing 1st & 3rd tab with a comma and all X’s, 1’s, 3’s with Cancelled, No Show with Reserve, No Show without Reserve.
For example:
1328, David Barr, Cancelled
123, Lala Land, No Show with Reserve
456, Santa Clause, No Show without Reserve
I can’t simply use replace(“X”, “Cancelled”) or replace(vbtab, “,”) because if there is an “x” somewhere in the name or the tab between the first & last name, it’ll replace also. Does vb has a replace from an i-th char? Keep in mind the result string is actually an array of string separated by a tab, not just a string.
Thanks in advance