Extract message string to static field