Page 1 of 1

A very simple Word combiner.

Posted: Thu Sep 17, 2009 11:42 am
by Websalesman
Hi, can somebody perhaps code a script which reads a txt file and combines all the words within the txt file and outputs them into another txt file?

For example, here's the words in the txt file:
PHP
Dev
Network

It should combine those words => PHPDevNetwork, DevNetworkPHP, NetworkDevPHP,......
And so on.

An option to combine a maximum of 2 words would be great too!(Means the script won't combine 3 words in one line)

Thanks!