Hi,
How can i compare to string / text to see if they are equals?
In fact what i want is to be able to see if for example that: "Hello" is different of "hello".
So the 'matchText' is not useful i think...
regards.
compare text
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: compare text
Hi,
You can prefix your regex with (?i), i.e: "(?i)HellO"
to be case insensitive.
Or did I miss something?
Regards,
Thierry
You can prefix your regex with (?i), i.e: "(?i)HellO"
to be case insensitive.
and for this, you don't and "HellO' should not match "hello"In fact what i want is to be able to see if for example that: "Hello" is different of "hello".
Or did I miss something?
Regards,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: compare text
Hi Thierry,
Thanks for your answer!
In fact i need to compare what i wrote in one field with what i have in one variable that i am reading from one database...
So my question was how to compare the text of field "FldPassword" with the variable MyPassword.
if the text of field "FldPassword" is not MyPassword then
end if
So if i understood well, this should work?
if the text of field "FldPassword" is not (?¡)MyPassword then
end if
Regards.
Thanks for your answer!
In fact i need to compare what i wrote in one field with what i have in one variable that i am reading from one database...
So my question was how to compare the text of field "FldPassword" with the variable MyPassword.
if the text of field "FldPassword" is not MyPassword then
end if
So if i understood well, this should work?
if the text of field "FldPassword" is not (?¡)MyPassword then
end if
Regards.
Re: compare text
Umm, my answer was specific to matchText(), matchChunk() or replaceText() functions.aebki wrote: So my question was how to compare the text of field "FldPassword" with the variable MyPassword.
In your case, you only need to add a statement:
Code: Select all
set the caseSensitive to true
if the text of field "FldPassword" is not MyPassword then ...
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: compare text
Hi Thierry,
Thanks for your answer...
And sorry for my late answer...I didn't enter in the forum till today...
I will test it!
Regards.
Thanks for your answer...
And sorry for my late answer...I didn't enter in the forum till today...
I will test it!
Regards.