Jump to content
Sign in to follow this  
hartmut

removing letters from the right

Recommended Posts

I have a field which has 23 numbers and I would like to remove the first 10 from the field.

for example

the number is

"27457839462738493823432"

I would like to have the following remain in my field

"2745783946273"

I understand how to find it with right function but not how to remove the 10 digits from the right.

Thank you

Share this post


Link to post
Share on other sites

If you are just wanting like the first 13 characters in your field, use the Left (YourField; 13)

Edited by Guest

Share this post


Link to post
Share on other sites

in a script it would be

SetField (yourfield; Left(yourfield;length(yourfield)-10))

or you could do a replace with calculated result

Left(yourfield;length(yourfield)-10)

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  

  • Who Viewed the Topic

    1 member has viewed this topic:
    Matt Cudmore 
×
×
  • Create New...

Important Information

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