2
Answers

Remove empty List Item?

Hi,

I have to remove the empty li from the output.

My Output is like this.

Audit Process Optimization:
  • Build Data Analytic/Continuous Monitoring Capabilities:
  • Peer Discussions Forum: Data Analytics Forum
  • Best Practices: Process
  • Online Training: Analytical Procedures
  • Evaluate or Implement Audit Management System:


  • My function is like this-
  • String.prototype.SlashNToList = function () {  return (this.replace(/\n/igm, '{LINEBREAK}')).htmlEscape().replace(/{LINEBREAK}/igm, '<li>'); }
  • Answers (2)