Index
Main Menu
Tutorial Videos
Tutorial videos are available here.
Knowledge Base
Visit our User Forum for discussions & solutions
July 27, 2023
String-length - XpressDox
String-length is used to test the length of a string (the value of a data element)
Consider the following example. The business rule is that the value of «Code» may not be more than 4 characters. In order to guide users, a rule has been written testing the string-length of Code. If it is longer than 4 characters, users are presented with a message preventing them from proceeding.
«Code»
«Rule(Code,hard,string-length(Code) < 5,'Your Code may not be longer than 4 characters')?»