SUNIL GUTTA

SUNIL GUTTA

  • NA
  • 1k
  • 394k

how to interchange words in a string ??

Jul 15 2013 12:52 PM
Hi friends

Well i want to interchange the words i.e let me explain with example //


string s1= "soon iam gonna be king of .net" ;


i needed a output like ".net of king be gonna iam soon" like this .. i hope everyone got it ..


Is there any way so we can exchange words and normalize code ?? 

ps:I am lot confused about this program some one plz do explain in simple & best way to deal things .. HELP ME DO IT MANUALLY USING FOR OR ANY LOOPS


Thank you

Answers (3)