Deepa

Deepa

  • NA
  • 4
  • 5.4k

C# Split

Aug 10 2010 11:19 AM

Hi
I have 2 paragraph as a string. shown below:

"The Literary Encyclopedia is an authoritative collection of specially commissioned articles written by scholars expert in their fields. It addresses literary works, writers, cultural movements and historical events around the world.

\nIts interactive features enable the user to place literature within its historical context in innovative ways."

I should give * to indicate as new line for every 28 characters sequence # should be given

I have to split the string to each 28 characters.  the result should be as follows

Sequence   format         Text

001              *               The Literary Encyclopedia is

002                               an authoritative collection
003                               of specially commissioned a
004                               rticles written by scholars .........
010              *               Its interactive features ena
011                               able the user to place liter
 
Any Idea?
Thanks


Answers (2)