Title: Problems with explode-sign
Last modified: November 17, 2018

---

# Problems with explode-sign

 *  [Marcus](https://wordpress.org/support/users/marcuss/)
 * (@marcuss)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/problems-with-explode-sign/)
 * Hello,
 * I use the following code to print contact information.
 *     ```
       if (is_single()) {
               $company = get_field('firma');
               $company = explode('_', $company);
   
       		if (isset($company[0]) && $company[0]!= 'keine') {
   
       		echo '<p><strong>Kontaktdaten</strong>:<br />';
       		echo '<br />'. $company[0];        
       		if (isset($company[1]) && $company[1] != '|') {
       			echo '<br />'. $company[1];        
       		}
       		if (isset($company[2]) && $company[2]!='|') 
       			{
       			echo '<br />'. $company[2];        
       		}
       		if (isset($company[3]) && $company[3]!='|') 
       		{
       			echo '<br />'. $company[3];        
       		}		
       		echo '<br />'. $company[4]. ' '. $company[5];                
       		if (isset($company[6]) && $company[6]!='|') 
       		{
       			echo '<br />'. $company[6];        
       		}
       		if (isset($company[7]) && $company[7]!='|') 
       		{
       			echo '<br />' . '<a href="http://'. $company[7] . '">' . $company[7] . '</a><br />';
       		}
       		if (isset($company[8]) && $company[8]!='|') 
       		{
       			echo $company[8] ;        
       		}
       		/*if (isset($company[9]) && $company[9]!='|') 
       		{
       			echo '<br />' . '<a href="https://twitter.com/'. $company[9] . '">' . $company[9] . '</a><br />';        
       		}*/
       }
       }
       }
       ```
   
 * The underscore is used as separator.
 * The output looks like this:
 * company
    address place Tel. Etc.
 * Now I would have to add a possibly twitter account can use instead of the underscore
   another delimiter. For example, the rhombus
 * When I enter the data in the selection list, which are as follows:
 * > Company_|_|_Address_Place_tel_etc.
 * adjust accordingly, for example
 * > company#|#|#Adrress#Place#tel#etc
 * there is the following issue in the frontend
 * Company_address_place_tel_etc.
 * Even clearing the cache does not fix the Problem.
 * An idea why that could be?
    -  This topic was modified 7 years, 6 months ago by [Marcus](https://wordpress.org/support/users/marcuss/).

The topic ‘Problems with explode-sign’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Marcus](https://wordpress.org/support/users/marcuss/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/problems-with-explode-sign/)
 * Status: not resolved