| Author |
String manipulation. Help needed. ..!!
|
Pradyumna Joshi
Greenhorn
Joined: Feb 06, 2007
Posts: 4
|
|
Hi,
I wanted to format string as follows:
Input string:
staffnum|role|name|lastname
12345|role1|abc|pqr
12345|role2|abc|pqr
Required Output String:
12345|role1,role2|abc|pqr
i.e. I wanted to separate role field by comma for same staff number and wanted to remove second row of same staff number.
please help.
|
 |
Mohamed Sanaulla
Bartender
Joined: Sep 08, 2007
Posts: 2925
|
|
Have you tried some code so that we can help you out with it?
|
Mohamed Sanaulla | My Blog
|
 |
 |
|
|
subject: String manipulation. Help needed. ..!!
|
|
|