Skip to main content
Known Participant
June 4, 2015
Question

replace characters in a string

  • June 4, 2015
  • 1 reply
  • 281 views

Hello,

Please view this string:

var String1:String = "<p>Efficiency and contribute to your bottom line by understanding better what technologies are the best for you. During this hour, you will: &acirc;&#128;&cent; Understand how to optimize the technology you currently use &acirc;&#128;&cent; Learn a methodology to evaluate what technology is the best for your business &acirc;&#128;&cent; Recognize how apps, tools, or programs can increase your personal and professional productivity After registering, you will receive a confirmation email containing information about joining the webinar, as well as a quick survey to assist in assuring the best content for the group.</p>"


What I would like to do this remove all the <p>, </p> and other errors in this string like &acirc;&#128;&cent; and replace them with just blank space ""

What is the best way to do this?


Should I be using Reg Exp or split. join?


A working example would be great, thanks in advance. 

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 4, 2015