We're developing in vb 2005 in the compact framework environment. I need to know if there is a quick and easy way to determine whether a string is composed of nothing but a specified character, one or more times. For example, if I'm testing a string to see if it contains all "t"s, then these values would be true:
t
tttt
but these would not be true:
ta
123tt
because they include characters other than "t".
Any good solution?
Start Free Trial