Topic: Start & ENd Points of a string Posted: 13 Feb 2008 at 1:10am
I have used instr and mid to read and extract data from a string. My issue is that I need to stop reading the string when another word starts or a carriage return, line feed is present.
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 13 Feb 2008 at 9:03am
The carriage return and line feed are chrw(10) and chrw(13). You'll have to include the logic to test for them inside your results and cut off the string at that point if they are there.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum