Re: case sensitivity in strings...

From: Oscar kind (oscar_at_danwa.net)
Date: 11/29/04


Date: Mon, 29 Nov 2004 19:24:36 +0100

Frances Del Rio <fdr58@yahoo.com> wrote:
> Mike B wrote:
>>
>>
>> Translate both strings to either upper- or lower-case before you search in
>> the string.
>
> of course.. thank you... I turned them both to lowercase, but if user
> types in "Hamlet" I would like app to return that same Upper-lower
> scheme, well, this might be a small detail... I'm too picky... ;)

Personally, I'd use a seperate, temporary variable for the lowercase
search argument. That way, the original is untouched and can be displayed
as the user entered it.

-- 
Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website
PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2


Relevant Pages

  • Re: IP range to CIDR list VB6 utility?
    ... >> Mike, is UnpackDWord something new with VB.Net? ... string address and convert it to a binary equivalent enclosed within a long, ... But I still have to use CIDR notation, which requires looking at an address ... using netmask to generate that exact same network range list: ...
    (microsoft.public.vb.general.discussion)
  • Re: Countif for a string
    ... Thanks for both Bob and Harald for the quick response. ... > Hi Mike ... > Function ShouldImport(ByRef S As String) As Boolean ... >> I am importing a text file into excel line by line. ...
    (microsoft.public.excel.programming)
  • Re: Multiselect Listbox as qualifier for query
    ... That's correct, Mike. ... You can pass that kind of string in the ... Or you can re-write the SQL ... > other qualifiers within the individual query definitions. ...
    (microsoft.public.access.queries)
  • Re: Problem with AND &
    ... Mike wrote: ... I did not catch that since I changed the user records. ... But you're still passing a string as the first ... varbinary is a character type - basically the difference between that and varchar in MySQL is the binary types are case sensitive. ...
    (comp.lang.php)
  • Re: Bypassing WSE to add web reference
    ... on SoapClient (or SoapSender if you don't need request/response). ... "Mike" wrote in message ... > c, String className, String url, Binding binding) ... but poses a problem when you try to add a web reference ...
    (microsoft.public.dotnet.framework.webservices.enhancements)