Hi,
I need to reformat number from 111-222-3333 to 1112223333.
Here is what i've got and it doesn't seem to work.
int[] columnLengths = new int[5];
columnLengths[0] = 3; //
columnLengths[1] = 1; // spaces
columnLengths[2] = 3; //
columnLengths[3] = 1; // spaces
columnLengths[4] = 4; //
String telephone = "";
IGlobalVariable GV_TELEPHONE = getGlobalVariable(blInfo,"GV_TELEPHONE");
String[] telephone_temp;
for (int i=0; i<13; i++)
{
telephone_temp = GV_TELEPHONE.getString();
}
String[] telephone_t;
telephone = telephone_t[0] + telephone_t[2] + telephone_t[4];
Thanks,
Roma
I need to reformat number from 111-222-3333 to 1112223333.
Here is what i've got and it doesn't seem to work.
int[] columnLengths = new int[5];
columnLengths[0] = 3; //
columnLengths[1] = 1; // spaces
columnLengths[2] = 3; //
columnLengths[3] = 1; // spaces
columnLengths[4] = 4; //
String telephone = "";
IGlobalVariable GV_TELEPHONE = getGlobalVariable(blInfo,"GV_TELEPHONE");
String[] telephone_temp;
for (int i=0; i<13; i++)
{
telephone_temp = GV_TELEPHONE.getString();
}
String[] telephone_t;
telephone = telephone_t[0] + telephone_t[2] + telephone_t[4];
Thanks,
Roma