This function removes all HTML tags from specified string.



Function arguments

  • stringValue – (String) Text from which HTML tags are to be removed.

Return value

This function returns String.
Returns input string in which all HTML tags were replaced with spaces. If there were no HTML tags in input string, same string is returned


Example 1:
This will return 'Some string with html tags.’

val = "Some <p>string</p> with html tags."
newVal = StripHTML(val);

Example 2:
This will return 'Some string without html tags.’ (nothing will be changed).

val = "Some string without html tags."
newVal = StripHTML(val);
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?