Add a String version of getPrefix()