Find capital letter in a string - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Find capital letter in a string (/Thread-Find-capital-letter-in-a-string) |
Find capital letter in a string - Arul - 12-24-2011 Hi, How can i find the ,how many capital letters in a given string str= "ADlanda" count is 2 regards, Arul.D RE: Find capital letter in a string - kotaramamohana - 12-26-2011 Arul, Use below mentioned code. Code: str= "ADlanda" Might be we will be having easy code also. But I know this code only. RE: Find capital letter in a string - Arul - 12-27-2011 Hi kotaramamohana, Thanks for ur script. Code: str= "ADlanda" Regards, Arul |