Tags

, , , , , , , , , , ,

We have added a built-in TRIM function to our Editor and Curator tool at

http://www.minerazzi.com/tools/editor/data-set-editor.php

Normally we use TRIM to remove unwanted sections of a piece of text.

Here is one practical application:

Suppose you have a long list of urls with anchor fragments or hashtagged text collected from blog posts or Twitter posts. Said lists can be collected with, for instance, a Firefox plugin that grabs links from web pages on the fly.

To use TRIM, paste the list of urls in the tool input set field. For this example, don’t worry about the other tool default options.

Next, use the tool built-in trimmer (TRIM) to trim strings from the item sets starting or ending at a given input character. For instance,

enter # in the start field of TRIM to remove hashtag text; e.g., http://blabla#mmm becomes http://blabla.

or

enter # in the end field of TRIM to keep hashtag text; e.g., http://blabla#mmm becomes mmm.

Note: Normally you should use one field or the other. If you use both fields, the start field action is performed first.

Click submit button. You are done. Easy and to the point. Works great for extracting and mining hashtag text from a long list of urls or text from Twitter hashtags.

Advertisements