String formatId(String inputId){
  return inputId.replaceAll("\\/",":");
}

String formatId ( String inputId ) { return inputId . replaceAll ( "\\/" , ":" ) ; }
formats a string by replacing slashes with colons .
