Java tutorial
//package com.java2s; public class Main { /** Tag used to wrap output variable names. */ public static final String OUTPUT_TAG = "_rce_output_"; /** * Wraps text with output tag. * * @param taggedOutputName text to tag * @return tagged text */ public static String extractOutputName(String taggedOutputName) { return taggedOutputName.replaceAll(OUTPUT_TAG, ""); } }