Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 12th, 2006, 05:39 AM
Authorized User
 
Join Date: Jul 2004
Location: , WI, USA.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Extraxt Last word from a string

Hi,

I would like to know how to extract last word from a string in crystal reports.

I want to use it in a formula field and parse the last word from a field's data.

Thanks,
Gauri
Reply With Quote
  #2 (permalink)  
Old April 12th, 2006, 11:19 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi

You can use the split function available in crystal words to split the string on the basis of 'space' and store the split words in an array. The last element of the array will contain the last word of the string

hope this works
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Split a string by 80 chars, but not during a word 2BOrNot2B XSLT 4 December 5th, 2008 04:13 AM
Pass textbox string to Word document bookmark mii2029 ASP.NET 3.5 Basics 1 June 6th, 2008 01:13 PM
Creating word doc - word behaviour mat41 Classic ASP Professional 2 April 29th, 2007 06:46 PM
extracting last word of a string p_gauri7 Crystal Reports 1 January 3rd, 2005 09:08 PM
Copy word to word doc. in VB vamshi Pro VB 6 1 March 24th, 2004 06:25 PM



All times are GMT -4. The time now is 04:41 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.