TextHandling

Various text-related functions you might find useful, including reading files into lists and replacing words in strings.
Text-related functions you might find useful. The library contains full documentation and examples. If you are looking to sort text, check out my List library.

dd_file2list(file_path, separator = "\n")
dd_replacetext(text, search_string, replacement_string)
dd_replaceText(text, search_string, replacement_string)
dd_hasprefix(text, prefix)
dd_hasPrefix(text, prefix)
dd_hassuffix(text, suffix)
dd_hasSuffix(text, suffix)
dd_text2list(text, separator)
dd_text2List(text, separator)
dd_list2text(list/the_list, separator)
dd_centertext(message, length)
dd_limittext(message, length)

Version 5

  • Login to open project files
  • Date Added: 07/13/01

Advertisement