Graphics

 View Only
  • 1.  lower to uppercase

    Posted 04-10-2013 21:10
    hi, im linking text with a database of flags, so when I type the name of a country the system searchs that same name on a PNG database, but I have a problem with the lower and uppercases.

    My question is, how can I convert a text from lower to upper case only? I know it can be done by changing the font to smlcaps 100%), but it doesnt help because I can still type a lowercase letter on the published box and my script recognizes the text as lowercase (althought it outputs it correctly as uppercase). The problem with that, is that I have to write two conditions in my script instead of one. Example:

    If text_IN.text = "countryname" orElse text_IN.text = "COUNTRYNAME" then

    text_OUT.text = "COUNTRYNAME"

    else

    text_OUT.text = ""

    end if

    this is to make sure I have to type the name I want, and to avoid bad spelling.


  • 2.  RE: lower to uppercase

    Posted 04-10-2013 21:25
    Hi Luis,

    try this:

    text_OUT.text = Ucase(text_IN.text)

    Greets,

    Kenneth

    #XPression


  • 3.  RE: lower to uppercase

    Posted 04-10-2013 21:26
    Hi Luis,

    try this:

    text_OUT.text = Ucase(text_IN.text)

    Greets,

    Kenneth

    #XPression