package com.virjar.sipsoup.function.filter;

import java.util.List;

import org.jsoup.nodes.Element;

import com.virjar.sipsoup.parse.expression.SyntaxNode;

/**
 * Created by virjar on 17/6/15.
 */
public class StringLengthFunction extends AbStractStringFunction {
    @Override
    public Object call(Element element, List<SyntaxNode> params) {
        return firstParamToString(element, params);
    }

    @Override
    public String getName() {
        return "string-length";
    }
}

@@ -390,16 +390,25 @@
  params)
+.length()
 ;%0A    %7D%0A

string-length 函数长度计算错误