How to count number of semicolon in the Textbox field In Infopath 2013? -
field value : test1;test2;test3;test4
i need count number of semicolon present in field : 3
its possible without coding?
try this: field a: test1;test2;test3;test4
field b(default value): string-length(translate(fielda, "1234567890abcdefghijklmnopqrstvwxyzabcdefghijklmnopqrstuvwxyz", ""))
result: 3
translate function convert other characters blank(no space) , using string-length count semicolons left.
edit: created blog post 1 detailed explanation , steps.
Comments
Post a Comment