As per my understanding your checking condition, string value should is allows to capital and spaces.
If you want convert staring value in captialize -yourstringvariable.ToUpper
If you want remove space in string value refer below article:
Hope this helps, If its work mark as solutions.
Thanks,
Neelima.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.