Forum Discussion
FICO
9 years agoCommunity Manager
Validate string value
I have a string of 6 character length which needs to be in a specific format - First 2 positions needs to be character and next 4 positions needs to be digits. Can this be done just in Blaze or should I create a method in java and call the method in blaze? Please advice. #StringValidation
1 Reply
- FICOCommunity Manager
You can split the string into an array of characters using the Blaze SRL built-in method. Or use a Java helper class to do this. If the evaluation conditions need to be changed often then using SRL is probably better.
Related Content
Related Content
How to make cuts added in a preIntsol callback globally valid (root node) instead of local to the current subtree?
I'm using the Xpress Optimizer Java API (com.dashoptimization, Xpress 9.4) to solve a MIP with lazy constraints that are generated dynamically. My constraints are all globally valid — they are not lo...2 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread5Views0likes2Comments
