Last post Aug 05, 2011 05:44 AM by Raigad
Aug 04, 2011 09:44 AM|kbhatia|LINK
I am having problem to pad string in Crystal report.
Ex: I have a field like this :"6160-Rates and Rents".
I need to get only "Rates and Rents". How can i do this?
Aug 04, 2011 10:11 AM|Raigad|LINK
Use this one
string for="6160-Rates and Rents";
int index = for.IndexOf('-');
string result = for.Substring(index+1);
Aug 05, 2011 04:57 AM|kbhatia|LINK
I cannot write this code in crystal report. I am not using VSstudios.I am using just crystal report. I have to use formula to make it fixed length string.
Aug 05, 2011 05:44 AM|Raigad|LINK
Check out this one to split string in crystal report