Jump to content
Sign in to follow this  
Bibliomano

Replace Text with Numbers

Recommended Posts

I'm sorry if i'm in a wrong subject for the topic since is the first time I write.

I have a field with text, e.g. "CSSS". Each character of the string is a number acording to a code. How can I create a script to automatically convert that text into is number.

example:

CSSS - 1 000

BSS - 300

CLS - 150

PS: sorry for my English ;)

Share this post


Link to post
Share on other sites

Each character of the string is a number acording to a code.

Is it a number or a digit? Your examples don't make it clear enough. If it's a digit, you could use the Substitute() function (with 10 substitution pairs) to reconstruct the original number.

---

P.S. Please update your profile to reflect your version.

Share this post


Link to post
Share on other sites

Is it a number or a digit? Your examples don't make it clear enough. If it's a digit, you could use the Substitute() function (with 10 substitution pairs) to reconstruct the original number.

---

P.S. Please update your profile to reflect your version.

I'm sorry, The version is FM10.

It's quite simple - CEBOLINHAS - stands for 1234567890.

I will try Substitute, and I'm tormenting myself not to remender that.

Thank you.

Share this post


Link to post
Share on other sites

Do it in your Profile please. Here is a quick link to your Profile

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.