protected StringTemplate(String str){
  this.string=str;
  whole=(str.length() != 1 || !StringUtils.isDelimiter(str.charAt(0)));
}

protected StringTemplate ( String str ) { this . string = str ; whole = ( str . length ( ) != 1 || ! StringUtils . isDelimiter ( str . charAt ( 0 ) ) ) ; }
creates a new string template .
