8000 StringTagger · frankframework/frankframework Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
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
0