modify a String based upon textbox value

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • news

    modify a String based upon textbox value

    Hello,
    Can someone please help to modify my string from the input value in my
    inputbox!?

    Example from my input box:
    - c:\test\att beställa.txt (swedish character)

    This is what I need:
    - c:\test\att_bes talla.txt
    I need to replace the "space" with "_" and replace the swedish character "ä"
    with "a"

    Can you please paste some example code so I can adjust it for my need's !!??

    Thanks // Nils


  • Mike Brind

    #2
    Re: modify a String based upon textbox value


    news wrote:[color=blue]
    > Hello,
    > Can someone please help to modify my string from the input value in my
    > inputbox!?
    >
    > Example from my input box:
    > - c:\test\att beställa.txt (swedish character)
    >
    > This is what I need:
    > - c:\test\att_bes talla.txt
    > I need to replace the "space" with "_" and replace the swedish character "ä"
    > with "a"
    >
    > Can you please paste some example code so I can adjust it for my need's !!??
    >
    > Thanks // Nils[/color]

    inputbox = replace(inputbo x," ","_")
    inputbox = replace(inputbo x,"ä","a")

    --
    Mike Brind

    Comment

    Working...