This styled text inserts a 4D Expression:
--
C_TEXT($styled_source_t)
$styled_source_t:=""
ST INSERT EXPRESSION($styled_source_t;"String(current time;HH MM SS)";ST End 
text)
--

Before the insertion the styled text is empty. After the insertion, the styled 
text contains only the insertion, which is a 4D Expression.

Here's what "$styled_source_t" contains after the above call:
--
<span><span style="-d4-ref:'String:C10(Current time:C178;HH MM SS:K7:1)'"> 
</span></span>
--

Note the styled text contains only a 4D Expression. There is **no** URL. There 
is **no** User link.

But each of these calls returns a single space character in "$found_t".
--
C_TEXT($styled_source_t) 
$found_t:=ST Get plain text($styled_source_t;ST URL as labels)
$found_t:=ST Get plain text($styled_source_t;ST URL as links)
$found_t:=ST Get plain text($styled_source_t;ST User links as labels)
$found_t:=ST Get plain text($styled_source_t;ST User links as links)
--

I would have thought that "$found_t" would be an **empty** string, since the 
styled text is a 4D expression (NOT a URL and NOT a User link.)

What am I missing?


Command documentation at:
http://livedoc.4d.com/4D-Language-Reference-16/Styled-Text/ST-Get-plain-text.301-3037109.en.html

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to