modify a String based upon textbox value

N

news

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_bestalla.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
 
M

Mike Brind

news said:
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_bestalla.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

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

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top