o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

[resolved]case-insensitive string compare -

Quickie - just looking for an existing function to compare example and eXamLe which will return true, without having to overload string.compare functions.

 

[resolved]case-insensitive string compare -
Quickie - just looking for an existing function to compare example and eXamLe which will return true, without having to overload string.compare functions.


compare string regardless of upper or lower case (Resolved) -
Hi, I have got to compare a string with another string. How do I compare both string irregardless of case sensitve. Below are a few examples star = Star Star =star matching should be done based on case insensitive.


Case insensitive string comparison -
I use StrComp(str1, str2) to compare 2 strings but it turns out to be case sensitive, i.e. it places a after Z. I want it to be case-insensitive but I've forgotten how to do this.


basic_string comparison -
Is there a way to compare strings that is case insensitive? I know I can compare them using stricmp, but is there an inbuilt method or technique? Thanks in advance HD


[resolved] can you use a case insensitive xpath predicate -
I have a simple xpath select statement searching for a particular key in the form: navigator.select("//option[@key='" aKey & "' ]") Problem is I need to ignore case - is there a way to find those keys in a case insensitive manner ? btw, i'm using vb.net


compare a item in a collection -
I want to compare a string item in a collection with another string variable. I use collection.items.contains(string_var) to compare if the string_var is in the collection. But i need to compare case insensitive !! How can i do this ?


is vb case insensitive -
Hello Is VB case insensitive, everytime i make a type sensitive mistake advertently or inadvertently, VB seems to ignore it and correct it?


Case sensitivity -
Does anyone know if SQL Server is case sensitive? I ask this because when I perform comparisons between string variables and fields in ADODB Recordsets case does not seem to matter. For example, if I compare hello and HELLO, they are considered the same string. However, my application


Case Sensitive in the comparision of strings in SQL Server 7.0 -
We are using SQL Server 7.0 and the Sort Order is default case insensitive, kana type insensitive, width insensitive. When Executing the following query, "Select Code,Name from test where code='1a'" it returns the following result. Code Name


RESOLVED sql accent insensitive -
Anyone know what to do in order to get accent insensitive sql results? I'm greek and i assume french people have the same problem. I'm using VB6 and MS Access


searching for strings with object.indexOf [resolved] -
The method .indexOf is nice and all but it wont find strings that are of different case. Lest say I have a huge string buffer and need to search for a value but want it to be case-insensitive. Is there a built in method of VB.NET to do this? E.g. Searching for the value 'red' should


Problem with Option Compare Text -
Visual Basic 6.0 When I try to use the Option Compare Text which enforce case insensitive text comparisons visual basic returns with compile error "Invalid inside procedure". Should I have to add something else in order to be accepted?


how to set case insensitive in Access database -
I'm using system.data.oledb to read/write MS ACCESS database. I got some strings, before I insert them, I want to check whether they are already in the database. When I use SELECT, I want ACCESS can compare the strings case-insensitively. How can I do that? thanks


[2005] Making password case insensitive -
Stupid idea? Yes. Do I absolutely detest even the thought of it? Yes. Does the customer realize that they've already been hacked? God I hope so. But it's how the customer wants it... *stabs self in liver* Anyway... I'm having a bit of trouble with this. I'm using the Login control


Q about eVB & DB2e -
We are using eVB & DB2e for developing a DB appln for Pocket PC. Dunno why but LCase if used in query in eVB code doesnt work and gives SQL error. Basically we are making a search utility. But are not able to provide CASE INSENSITIVE search. SQL function "LCase" if wor


a little help in case sensitivity -
in my program, i have a textbox that specifies what data i will be searching in the database and diplaying it in the flexgrid... my problem is that it is case sensitive. How can i make the searching case insensitive? any ideas!?


Searching a string a-z -
Didn't see this posted anywhere.. I can't figure out the exact code to search a text field. The first letter in the text field has to be a letter a-c (case insensitive) and the last letter has to be a letter a-z(case insensitive). the 5 characters in between are 4 integers and a &


Case Insensitive Replace -
Is there a way to do a replace that's not dependant upon the case? ie: str_replace('dOg', 'frog', 'dog is cool');


Another Dilema....(probably easy fix) -
This little utility will search every file within a drive for a string of text that the user specifies. It doesn't check for the file but actually opens the file and searches for the string. My problem is, how can I make the search case insensitive? Thanks!


Option Compare Text at Runtime -
By inserting option compare text, str comparisons become non case sensitive. I need to know how at runtime I can switch between binary and string comparisons? I can do it the messy way by optionally running a ucase or lcase statement to both string to be compared, however this be


Select Expert In Crystal -
Hello! [Me again] I am selecting based on an organization field... Which can be all mixed case in the database... If I choose to run the report for one organization (I have a parameter field).. it does not print anything unless the organization is entered as is (case sensitive)


Changing a variables case -
I have two variables that i wish to compare against each other, both variables are entered in by users, so the format/case may not be the same. What i want to do is to convert both variables to lower case before i convert them. I've found a few examples of how to do this, but none are


[Oracle 10g XE] Case Insensitive field -
Hi all, I'm playing around with the sample database in Oracle 10g XE. I'm trying to select records based upon the text DEPARTMENT_NAME field in a case insensitive manner. For example, if I search for "admininstration" I would like it to match the "Administration" d


Need help to compare stings. -
Hello: My coding is as follows: Private Sub Inet1_StateChanged(ByVal State As Integer) Select Case State Case icConnecting Case icConnected Case icRequesting Case icRequestSent Case icReceivingResponse Case icResponseReceived Case icR


is there non case sensative for c++ string compare -
Hi guys. I want to ask is there any code in c++ that compare 2 strings and check if it is the same or not? Something like the word "Test" compare with "test" with the only diffference is the letter "t" and a capital "T". I want the program to


Select Case it isn´t working -
I´m trying to compare time using the next code fec = Now Select Case fec Case Is > #8:29:00 AM# And fec < #9:01:00 AM# ----------------- ---------------- Case Is > #9:00:00 AM# And fec < #1


Compare texts string in VB .NET -
I need help on comparing a word or phrase enter by a user at run time to a MS Access database field format as memo. The Access field contains around a thousand characters of words and/or phrases and I need to compare if there is any match with any of the phrases or words in the memo fi


[2005] CompareValidator question ! -
Hi , can a compareValidator compare a unique field i saw the types Integer ; String .. normally i used to compare 2 field wondering if i can use it for one field ? so (i will not use CustomeValidator in some case ) Thanks


Checking for substring "error" -
Hi, This is a realtively simple question, but since i have juz 1 week experince in VB , i have no other way that posting it here. How do i find if a given string has a substring "error". Also i want the check to to be case insensitive... Thanks ...saj


Simple encryption -
I am looking to make an encryption function that accepts and outputs only specific characters (just randomizes them with the specified password). The reason behind it is the data is getting passed back and forth over IRC so I can't just be using chr(0) to chr(255). I though of ju


How to compare multiple (part) strings -
Hi, I have 2 listboxes and want to compare both and count in how many lines are identical strings. BUT .... I want to use part of the strings (same as with MID) and this part strings chance always. For example: I want to compare at the begin the characters 1-5 then 2-6 then 3-7 a


Making the code compare strings case sensitive -
I have used this before but I cant remember exactly how I implement it...To make vb compare everything case sensitively.. For example If "kewl" = "Kewl" then msgbox "This wouldnt fire becuase they dont match in case." end if and using Lcase is not


Office VB: Howto compare w/o case comparing letter case -
In Office VB script (EXCEL): Say a cell contains "jello" MyString = "Jello" If MyString = ActiveCell.value Then Whatever That will fail becase of the capital "J". So, how do I make an If then statment to compare a variable to a cell without co


detrmine type [resolved] -
i have a problem with a compare basically i have a select case that has a bunch of commands, one of the commands either calls the TrackPlay function for winamp if the rest of the line is a null or space, or calls the SetSong function then TrackPlay if the line is an integer. I also,


[ReSolved]About Compare Two Directories [ReSolved] -
Hi All, I am currently stuck in how to compare two directories Assume i have two directories need to compare.(Named Dir1 and Dir2) Dir1 have 4 folders in it lets say Folder1, Folder2, Folder3, Folder4. Dir2 have 3 folders in it lets say Folder1, Folder2, Folder3 obviously Dir1


remove characters from a string [resolved] -
Hello, I have a string that can ONLY contain lower case letters, digits 0-9 and the hyphen character. 1) How can I change upper case charaters to lower case? 2) How can I strip away ANYTHING except lower case letters, digits 0-9 and the hyphen character? For example, in Per


File exists - case insensitive -
Hi all, I want to know whether any vb function is available to find whether file exists. The function should also check whether file name case sensitivity. FileExists method returns true, if I give the input as "SampleImage.jpg", but actual filename is "sample


Splitting a string....(Resolved) -
Hi, I have a string as shown below. 2-3 --w/o How do I split it such that for the first case '2' is placed in textbox1 and '3' is placed in textbox2 and if it is the second case, '-' is placed in textbox1 and 'w/o' is placed in textbox2. Basically i want to splitup a score


Case insensitive Replace() function in ASP -
Can someone tell me how to use the Replace() function in an ASP page and have it ignore case? I.E. I'd want: Code: sTemp=Replace(sTemp, "matthew", "Matt") to return "Matt" wether the original value of sTemp was "Matthew, "MATTHEW"


LoWeR CaSe -
I want to compare 2 string.. But if the string have uppercase un , that doesn't work.. exemple: String1 to compare : welcome String2 founded : Welcome Code: if String1 = String2 then 'allright else 'nope end if how can I put the string2 and the string1 in