strings strings have their own in this text purely because string operations and transformations are incredibly frequent within programs the algorithms presented are based on problems the authors have come across previouslyor were formulated to satisfy curiosity reversing the order of words in sentence defining algorithms for primitive string operations is simplee extracting sub-string of stringhowever some algorithms that require more inventiveness can be little more tricky the algorithm presented here does not simply reverse the characters in stringrather it reverses the order of words within string this algorithm works on the principal that words are all delimited by white spaceand using few markers to define where words start and end we can easily reverse them