Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.75/5 (4 votes)
See more:
Hi All

My List View Show Like This. I Want to Split Address Column

Name Address Mobile
AAAA No 35,XX Street, YY XXX, ZZ-1. 123456
BBBB No 1235, RR Street, DDDD-124, 3333333



I Expect OUTPUT LIKE THIS ADDRESS COLUMN IS SPLIT after Comma

Name	Address	             Mobile
AAAA	No 35,               123456
        XX Street, 
        YY XXX, 
        ZZ-1.
	
BBBB	No 1235,             3333333
        RR Street, 
        DDDD-124,




Please Tell me..
Posted
Updated 11-Mar-13 7:53am
v2
Comments
Sergey Alexandrovich Kryukov 11-Mar-13 13:47pm    
The problem is not clear. If you need more columns, use more.
—SA
[no name] 11-Mar-13 13:48pm    
What have you tried? Did you try Splitting the data on a comma and arranging the result however you want?
Navas Khanj 11-Mar-13 13:50pm    
i need Address Column Want to After Comman one by one

1 solution

Split the address on the comma,

http://www.dotnetperls.com/split[^]

Then write out the values how you want.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900