liqp.filters.Prepend Maven / Gradle / Ivy
package liqp.filters;
class Prepend extends Filter {
/*
* (Object) append(input, string)
*
* add one string to another
*/
@Override
public Object apply(Object value, Object... params) {
return super.asString(super.get(0, params)) + super.asString(value);
}
}