Beginner VB

Moderators: None (Apply to moderate this forum)
Number of threads: 1244
Number of posts: 2990

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Changing Posted by yhtoh on 9 Jun 2002 at 7:31 PM
how to made "BLOCK CAPITAL" equal to "small capital" because i wanna to made a functio as searching. No matter User enter the Charater as 'A' or 'a'.
Report
Re: Changing Posted by DarQ on 10 Jun 2002 at 1:08 AM
Hi,

You can use the following:

[String] = UCase ([String]) :> Make capital
[String] - LCase ({String]) :> Just the opposite!


Greetz from DarQ

--- Be sure to check ---
http://www.aidix.cjb.net
For info about AI stuff in VB

Report
Re: Changing Posted by yhtoh on 10 Jun 2002 at 2:50 AM
Hi,

Sorry for disturd you again, regarding of the code that you had given, i was trying but i m failed, can you give me more example.....
THANK A LOT
Report
Re: Changing Posted by KDivad Leahcim on 10 Jun 2002 at 3:23 AM
: Hi,
:
: Sorry for disturd you again, regarding of the code that you had given, i was trying but i m failed, can you give me more example.....
: THANK A LOT
:

MsgBox LCase$("I'm so sad...")
MsgBox LCase$("i'M sO SAd...")
MsgBox LCase$("I'M SO SAD...")

LCase$ returns the string with all lowercase. UCase$ returns the string with all uppercase.
Report
Re: Changing Posted by paulj59 on 10 Jun 2002 at 9:42 AM
So to compare Text1.Text to Text2.text

if lcase$(Text1.Text)=lcase$(Text2.Text) then
'they compare case insensitive
end if



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.