Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. var string = 'Item 1: Description of Item 1 | Item 2: Description of Item 2 | Item 3: description of item 3';
  2.  
  3. var fixedString = <b>Item 1:</b> Description of Item 1 <b>Item 2:</b> Description of item 2 <b>Item 3:</b> Description of Item 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement