Many wordpress users wants to add special character in their menu list. Wp_list_pages is very useful function of wordpress to display the pages in menu. Whenever you would like to add special character ike ‘|’, ‘//’ etc.., you can use this hack. You need to add this code where you want to add the special character:
For example, I have used pipe sign as special character. You can use as per your requirement.