Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21238

Searching for specific set of characters in a label caption?

$
0
0
Hi everyone! I am working on a review game for students, and the beauty of this one is the students come up with the review questions, so they really want to add a lot of questions. Anyway I have two label captions.

Label1.caption and Label2.caption.

The question goes in Label1.caption and might be something like (1). What county is the Nile River located in?



What I am wondering is, how do I search for the number that is in the brackets? In this case 1 and just copy that number, and put it in label2.caption? The questions themselves will never have any brackets, so they won't confuse any search code, but has anyone tried this before? I would really appreciate it!

Thanks.

Viewing all articles
Browse latest Browse all 21238

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>