Great answer, thank you.
By the way, if anyone was curious, here is a prototype of what this will be able to do. All of it is subject to change, but if you have any opinions, critiques are welcome.
Function Name Description Format
replace() Replace a string in a replace <word(s) to replace> <word(s) to replace with> <starting
file with another string instance(or all)> <ending instance(if not all)> <filename or pathname>
fileCat() Merges two files together merge <file 1> <file 2> <merge type*> <save to>
count() Counts the number of units count <unit*> <filename>
in a file
setSize() Changes the size of a file by setsize <size> <unit*> <filename>
compare() Compares the similiarites of compare <file 1> <file 2>
two files by words
format() Formats the structural apperance format <format option*> <suboption*> <filename>
of a file
excelFormat() Excel has a specific format that excelFormat <filename>
a txt file must be in to upload
to a spreadsheet. This formats
the file for you.
Merge Types can do: One after the next, alternating words, alternating paragraphs
Units are: letters, words, paragraphs, bytes
Format Options are: Line Spacing, Capitalization (if I can, I'd like it to be able to capitalize words
at the beginning of sentences), puntuation (Again, this would be tough, but I can thinl
of a few standard rules it can check for), indentation, column setting
Sub Options are: for Line Spacing (Single, Double, double between paragraphs) for column setting (width between)