Uniface Underground -> Undocumented.Features.Only. Go Home

strip_attributes

 
Name strip_attributes
Removes all the attributes and garbage in a field
Synopsis strip_attributes source, target
Use Allowed in form components, services and reports
Description Copy the source field in target removing all attributes (bold, italics and underline), control characters, frames and rulers.

Tested in 7.2.03

Return Value $status contains 
$status Stripped
0 Nothing
1 Attributes
2 Garbage
4 Frame
8 Rule

When more than one type of chars are removed, $status contains the sum of this values. 

Example strip_attributes a, b
if ($status > 0 )
   message "Field stripped...."
endif

Copyright © 1999-2000  $UUU  All rights reserved.
Disclaimer. | Site Comments.