[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ASCII text highlighting

Victor Reyes

2/27/2008 3:52:00 PM

[Note: parts of this message were removed to make it a legal post.]

Hi Team,

Is there way to *highlight* plain (ASCII) text?
I mean something like:

v = "*This text should be displayed as bold*"

I need to create an ASCII report, where I imbed tabs (\t) and later import
into an excel spreadsheet. The *bold* highlight is for the title.

Thank you

Victor

2 Answers

gmurray

2/27/2008 4:14:00 PM

0

http://raa.ruby-lang.org/project/ansic...

print "red bold".red.bold, "\n"

Gerald

Victor Reyes

2/27/2008 6:07:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

Thank You!

On Wed, Feb 27, 2008 at 11:15 AM, Gerald Murray <gmurray@cloudnet.com>
wrote:

> http://raa.ruby-lang.org/project/ansic...
>
> print "red bold".red.bold, "\n"
>
> Gerald
>
>