mohantyd
asked on
Need help/advise in C# string operation
Need help in code for string operation in following type condition.
Original string = " XXXXXXX #A# XXXXXX #B# XXXXXXX #N# .........
#A#,#B# ... are excel sheet column names and i dont know upto what number those column name will go and may not come sequentially. So one option is read it from start and getting first # read till next # and take inbetween data and replace it with value like Column(A), Column(B) etc.
Is there any better way to do this ?
Original string = " XXXXXXX #A# XXXXXX #B# XXXXXXX #N# .........
#A#,#B# ... are excel sheet column names and i dont know upto what number those column name will go and may not come sequentially. So one option is read it from start and getting first # read till next # and take inbetween data and replace it with value like Column(A), Column(B) etc.
Is there any better way to do this ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.