D
deepak
Hi All,
I have a string which can have ONLY ONE mobile number or multiple mobile
numbers(seperated by semi colon).
dim str as string = "+919886735837;+919820444818;+919916302180"
OR in this below format
dim str as string =""+919886735837"
depending upon the user who is using the interface and will fill this
textbox on the interface.
I need to handle the below message in the vb.net code.(this have mutiple
mobile numbers so i need to make the no. of messages equal to the count of
mobile numbers
e.g.this message
********************************************************************
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886735837;+919820444818;+919886894326;+919886573423</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
*****************************************************************
should be broken into 4 similar messages (each having single mobile numbers)
like (4 messages shown below)
**************************************************************************
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886735837</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919820444818</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886894326</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886573423</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
*************************************************************************
Also, validation check should be added like e.g. user did not added the
semicolon or + sign (befor the number) in the interface etc.
I want to handle the count of mobile numbers based on the semicolon(not on
'+' sign as user can entre 00 instead of '+' sign)
Kindly help me .
Thanks,
Deepak
(e-mail address removed)
I have a string which can have ONLY ONE mobile number or multiple mobile
numbers(seperated by semi colon).
dim str as string = "+919886735837;+919820444818;+919916302180"
OR in this below format
dim str as string =""+919886735837"
depending upon the user who is using the interface and will fill this
textbox on the interface.
I need to handle the below message in the vb.net code.(this have mutiple
mobile numbers so i need to make the no. of messages equal to the count of
mobile numbers
e.g.this message
********************************************************************
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886735837;+919820444818;+919886894326;+919886573423</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
*****************************************************************
should be broken into 4 similar messages (each having single mobile numbers)
like (4 messages shown below)
**************************************************************************
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886735837</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919820444818</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886894326</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
<SXPSMSInformation
Destination="India_SMS"><Engineers><Engineer><CellNumber>+919886573423</CellNumber></Engineer></Engineers><Task><EquipmentType><Name>BSC</Name></EquipmentType><NOCRefID>Deepak_0324_1</NOCRefID><Priority>1</Priority><Site>BSC
_PB_BSC1_ BTS CHD190</Site><Status><Name>Dispatched</Name></Status><Title>The
work order
title</Title></Task><Assignment><Start>2008-03-24T11:45:00</Start></Assignment></SXPSMSInformation>
*************************************************************************
Also, validation check should be added like e.g. user did not added the
semicolon or + sign (befor the number) in the interface etc.
I want to handle the count of mobile numbers based on the semicolon(not on
'+' sign as user can entre 00 instead of '+' sign)
Kindly help me .
Thanks,
Deepak
(e-mail address removed)