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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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