Connecting Tech Pros Worldwide Help | Site Map

How to remove the first three characthers from a string

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 08:30 AM
galsaba
Guest
 
Posts: n/a
Default How to remove the first three characthers from a string

I have text field that contains strings of various lengths.
I want to get rid of the three first charachters:
Instead of "see I am from here"
i want to see " I am from here"
instead of "see they are from there"
I want to see "they are from there"

etc. what would be the right function?

Thanks

galsaba


  #2  
Old November 13th, 2005, 08:30 AM
Arno R
Guest
 
Posts: n/a
Default Re: How to remove the first three characthers from a string

What about
Me!NewString=Mid(Me!OldString,4)

or
Me!NewString=Trim(Mid(Me!OldString,4)) to get rid of spaces before and after

--
Hope this helps
Arno R

[color=blue]
> Instead of "see I am from here"
> i want to see " I am from here"[/color]
[color=blue]
> instead of "see they are from there"
> I want to see "they are from there" [/color]

PS: What happened to the space here ??


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.