Jump to content
Server Maintenance This Week. ×

Replace Text with Numbers


This topic is 4291 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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 ;)

Link to comment
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.

Link to comment
Share on other sites

  • Newbies

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.

Link to comment
Share on other sites

This topic is 4291 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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