My requirement is : an user can enter any STRING at selection screen and the output should be displayed based on some PATTERNS.
for e.g String entered is "I LIKE PLAYING CRICKET"
Output should be "PLAYING I CRICKET LIKE" - Pattern 1
"CRICKET PLAYING LIKE I" - Pattern 2
Note: The string entered by user at selection screen can be of any length (depends on the user).
Please share your solution.
Edited by: chandan sinha on Jun 9, 2010 3:07 PM