Class JoinWithCommaLambda

  • All Implemented Interfaces:
    com.samskivert.mustache.Mustache.Lambda

    public class JoinWithCommaLambda
    extends Object
    implements com.samskivert.mustache.Mustache.Lambda
    Split text by 2 spaces and then join the strings with ", " Register:
     additionalProperties.put("joinWithComma", new JoinWithCommaLambda());
     
    Use:
     {{#joinWithComma}}{{name}}{{/joinWithComma}}
     
    • Constructor Detail

      • JoinWithCommaLambda

        public JoinWithCommaLambda()