BertBoye Posted September 1, 2003 Posted September 1, 2003 Dear All I am trying to extract text from a file containing a lot of text. I have a start value let
Lee Smith Posted September 1, 2003 Posted September 1, 2003 Hi Bert If your Key words "*start* and *End*" are going to remain the same, and you only want the one chunk of text in between, than this calculation will do what you want. Trim(Middle(g_Text, Position(g_Text, "*start*", 0, 1) + Length("*start*"), (Position(g_Text, "*end*", 0, 1) - (Position(g_Text, "*start*", 0, 1) + Length("*start*")) - 1 ))) HTH Lee
Recommended Posts
This topic is 7824 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 accountSign in
Already have an account? Sign in here.
Sign In Now