Ticket #598 ( Closed )

Short Description Texttrim Results
Entered By: James Peterson When: 2000-08-29 15:58:37 Build: 2.0.6F
Categories Type: Question   Department: Product   Category: SurferScript Functions
If the screen position was equal to all underscores or a 
space, what would be the resulting value for this 
assignment?  Here's the assignment.

<TESET DocId=TextTrim(Screen(1,4,8),"_")>

The Trace file shows DocId as:

BEFORE = XYZ           --(Previous value of DocId)
AFTER = (rc=0)         --(Value after assignment)

Which logic statement would evaluate to true if BeforeDocId 
was equal to "abcdef"?

<TEIF BeforeDocId <> "" AND TextTrim(Screen(1,4,8),"_")=""> 
<TEIF BeforeDocID <> "" AND TextTrim(Screen(1,4,8),"_")=" ">

Neither seems to work for us.