You have posted in the Article and source code category and I have moved it to Queries and discussion category.

Refer All possible combinations of a string