Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Note Dissection
#1
Note Dissection
by DrakoShade
Version 1.0

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Introduction
This tool allows you to tag sections of your Note fields with whatever pair of substrings you want, cutting out what's between those tags and returning it for you to save as a new variable, evaluate, or whatever else you can think of.

Features

* Cuts the listed pair of tags out of a Note field, along with everything between them.
* Trims the tagged section and what's left of the Note field of whitespace at the front and back.
* Returns what was between the tags, discarding the tags themselves.

Script
The Script


Instructions
Installation: Paste this script between "▼ Materials" and any custom scripts that are likely to use it.

Usage instructions are included in the script itself.

Compatibility
Instances without a tag pair you've set to cutout will now have a blank string "" stored in the variable, rather than NIL. This was to evade some errors I found in testing.
}




Users browsing this thread: