Compare text

A

andyoye

IP2007, MOSS 2007

I have a text box, textbox1, whose default value is "userName" and another
text box, textbox2, whose value is "Value[Name = "UserName"]".

Issue is: userName (textbox1)gives me all lower case (ajack) where textbox2
gives me (AJack) output based on current user.

How can I compare both text?

Thanks
 
S

Swathi

Hi

You can translate the textbox2 values to lower case and then compare with
the text box1. To translate the textbox2 value to lower use the translate()
function.
ex: translate(my:textbox2, "ABC ... Z", "abc ... z")
 
A

andyoye

Thank you both, that's what I was looking for ....



Swathi said:
Hi

You can translate the textbox2 values to lower case and then compare with
the text box1. To translate the textbox2 value to lower use the
translate()
function.
ex: translate(my:textbox2, "ABC ... Z", "abc ... z")

--
Swathi Porandla
http://www.ggktech.com



andyoye said:
IP2007, MOSS 2007

I have a text box, textbox1, whose default value is "userName" and
another
text box, textbox2, whose value is "Value[Name = "UserName"]".

Issue is: userName (textbox1)gives me all lower case (ajack) where
textbox2
gives me (AJack) output based on current user.

How can I compare both text?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top