Friday, July 31, 2009

How to convert upper or smaller case leters and strings in vb?

if thers isupper() islower() or strupper() and strlower in C/C++, how can u do that in visual basic 6.0? i need syntax or even better, examples, thanks!

How to convert upper or smaller case leters and strings in vb?
To convert a string in Uppercase use upper(string) function.


ex.


print upper("Vipin")





output: VIPIN





To convert a string in Lowercase use lower(string) function.


ex.


print lower("ViPiN")





output: vipin





To reverse a string use strreverse(string) function


ex


print strreverse("vipin")





output: nipiv

curse of the golden flower

No comments:

Post a Comment