Edit Validate ValidInputOnlyDigitsAndSemicolonAllowed Example 2
Hi All,
In this blog we will see how to used edit validate example 2.
Follow Below Steps
ID = ValidInputOnlyDigitsAndSemicolonAllowed
Java Source
for (int pos = 0 ; len = theValue.length(); pos<len; ++pos)
{
if(!Character.isDigit(theValue.charAt(pos)) && theValue.charAt(pos)!=';')
{
return false;
}
}
return true;
Thank you!! Will see you all in next blog post 😊.
Comments
Post a Comment