Jump to content

[Solved] How to "Clean" a String?


Zohar
 Share

Recommended Posts

Hello!!!

I have a String, that I would like to Clean.

By Cleaning, I mean that all Characters that are

Letters(Big/Small), Digits, and also ' ', '-', are OK.

All the rest, I would like to replace them with a '_'.

Is there a function for that?

that I can define Good chars, and telling it that all the rest should be replaced with a '_'?

thank you

Edited by Zohar
Link to comment
Share on other sites

there was a topic similar to this going on in the last week or the one b4 that..

It had the same requirement.. exact same.. not similar..

Just search for it on this forum.. n u'll get exactly what u need

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...