Sitelet https://github.com/frankframework/frankframework/wiki/StringTagger#examples
Skip to content
celmoussaoui edited this page Oct 27, 2019 · 1 revision

Examples

Example:

 
       StringTagger tag=new StringTagger("cmd=lookup names='Daniel Ockeloen, Rico Jansen'",' ','=',',','\'','(',')');
       System.out.println("toString:"+tag.toString());
       System.out.println("cmd:"+tag.Value("cmd"));
       System.out.println("names: "+tag.Values("names"));
 Result:
 toString:[]
 cmd:lookup
 names: [Daniel Ockeloen,  Rico Jansen]

       tag=new StringTagger("cmd=(a,b),c");
       System.out.println("toString:"+tag.toString());
       System.out.println("cmd:"+tag.Values("cmd"));
 Result:
 toString:[]
 cmd:[(a,b), c]

Clone this wiki locally