Difference between revisions of "StripHtml"

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

Revision as of 04:41, 14 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>"));// Question Text

Availability

Version 5.4