Difference between revisions of "StripHtml"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<br>
+
{{HelpFiles}}
  
==== stripHtml ====
+
==== stripHtml ====
  
 
Strip HTML elements from a string.  
 
Strip HTML elements from a string.  
  
'''Syntax'''
+
'''Syntax'''  
stripHtml(''string_expression'')
 
  
'''Arguments'''
+
stripHtml(''string_expression'')
''string_exp'': Is a string expression.
 
  
'''Return type'''
+
'''Arguments''' ''string_exp'': Is a string expression.
string
 
  
'''Examples'''
+
'''Return type''' string
print(stripHtml("&lt;p&gt; Question Text &lt;/p&gt;"));// Question Text
+
 
 +
'''Examples'''  
 +
 
 +
''print(stripHtml("&lt;p&gt; Question Text &lt;/p&gt;")); //Result: Question Text''
 +
 
 +
'''Availability'''
  
'''Availability'''
 
 
Version 5.4  
 
Version 5.4  
  
 
[[Category:String_Functions]]
 
[[Category:String_Functions]]

Latest revision as of 04:41, 23 December 2011


stripHtml

Strip HTML elements from a string.

Syntax

stripHtml(string_expression)

Arguments string_exp: Is a string expression.

Return type string

Examples

print(stripHtml("<p> Question Text </p>")); //Result: Question Text

Availability

Version 5.4