help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: elispQ: How can I extract text from #("text" ... )


From: Drew Adams
Subject: RE: elispQ: How can I extract text from #("text" ... )
Date: Thu, 3 Apr 2008 21:14:52 -0700

> values such as:
>  #("Typically only electric field is assigned" 0 41 (face font-lock-
> string-face fontified t)))
> 
> Now, these are variables of type string. How can I extract just the
> text from it?

You can use function `substring-no-properties' to give you a plain string that
has no face or other properties.

But you might not need to. What do you want to do with the resulting text
(string)?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]