title: creating a string with a mac address inside
body: <p>I want to send a string message containing 2 int values and a mac address. I mean something like this:</p>
  
  <pre><code>String loadMessage = String.format("LoadOn %1$d %2$d %3$?", nodeid, sum, macAddress)
  </code></pre>
  
  <p>macAddress variable is MacAddress type: org.projectfloodlight.openflow.types.MacAddress </p>
  
  <p>What should I put in <code>%3$?</code>? I know that for integer values we use %d, how about a mac address?</p>
  
  <p>And when my receiver gets this message, how can it split the message in order to find out the mac address? I mean for example for finding out the nodeid value which is an integer, we can do something like this:</p>
  
  <pre><code>String[] partss = message.split(" ");
  int id = Integer.parseInt(partss[1]);
  </code></pre>
  
  <p>Receiver has got this string and wants to extract the macAddress value from this string (like what he/she has done for integer extraction). How can he do this?</p>