I am sure it can be done with a a loop and a few strrep() statements but if there is a simplier way...
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Hi All,
I have one requirement for writing a validation for 'Solution' field. When solution is written less than 25 characters, as validation should throw saying" Solution should be greater than 25 characters". I am using currently HPSm 9.40 version. Need to write conditions in RuleSets. Please help.
I have one issue here. Solution field is of Array type. How to conevrt Array to Character. I have written the below condition for conversion.
vars.$L_file.resolution.toString();
print(vars.$L_file.resolution);
and it is printing like {"1","2","3"} . But, I want this to come in 123...like no.of characters.
Also,After this, I am not knowing how to write a validation after this.Please help me. I am not aware of the coding part.
Hi Keven/Cliff, I have tried to write RAD function like you have provided. But, couldn't make it. Could u please help. Here the input value for Solution field is 'resolution'.