Blog

New Plugin Plain Text Convertor

Curt Gratz April 20, 2011

Spread the word

Curt Gratz

April 20, 2011

Spread the word


Share your thoughts

Just posted a new super simple plugin on ForgeBox for your use. 

Plain Text Convertor

Description:
This plugin takes html or rtf text and converts it to plain text
Example:
This call would return the text of "Test Convertor", stripping out all the HTML.
#getMyPlugin("plaintextconvertor").convert("<p><a href='text.htm'>Test Convertor</a></p>")#
Arguments for the convert function:
text: REQUIRED The text to convert
format: either html or rtf, defaults to html.  This is what format your incoming text argument is in.

This plugin uses the Java Swing library.  Thanks to Ernst van der Linden for the inspiration. 

http://evdlinden.behindthe.net/index.cfm/2011/1/12/Convert-RTF-to-Plain-TEXTJava-Swing-rescue

Add Your Comment

Recent Entries

CommandBox: A Smarter Foundation for BoxLang and CFML Workflows

CommandBox: A Smarter Foundation for BoxLang and CFML Workflows

In day-to-day development, some tools simply do their job… and others quietly change the way you work. CommandBox falls into the second category.

It doesn’t replace your editor, framework, or existing applications. Instead, it becomes the common ground where CFML and BoxLang development meet ,giving teams a consistent, reliable way to build, run, and evolve their projects.

Victor Campos
Victor Campos
January 16, 2026
BoxLang v1.9.0 : Production-Ready Stability, Enhanced Lifecycle Management, and Rock-Solid Reliability

BoxLang v1.9.0 : Production-Ready Stability, Enhanced Lifecycle Management, and Rock-Solid Reliability

Happy New Year! The BoxLang team is excited to announce BoxLang 1.9.0, a significant stability and compatibility release focused on production-readiness thanks to our client migrations and new application deployments. This release also introduces array-based form field parsing conventions, enhanced datasource lifecycle management, improved context handling, and resolves over 50 critical bugs to ensure enterprise-grade reliability for mission-critical applications.

Luis Majano
Luis Majano
January 09, 2026
DocBox v5 - Reborn: Modern API Docs for BoxLang & CFML

DocBox v5 - Reborn: Modern API Docs for BoxLang & CFML

Welcome to DocBox v5! We didn't just update DocBox. We rebuilt it from the ground up.

DocBox v5.0.0 represents a complete architectural rewrite—modern syntax, blazing performance, and a stunning new look that finally brings API documentation into 2025. Gone are the clunky HTML pages of yesteryear. Say hello to a gorgeous, theme-driven single-page application that makes browsing your API docs feel like using a premium developer tool. We have also released a dedicated module for BoxLang: BX-DOCBOX. A fully interactive CLI tool for generating your docs from the command line using pure BoxLang.

Luis Majano
Luis Majano
January 06, 2026