Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Making bold in betwen a part of the big string based on condition

Hi All,

I am using Crystal XI.

I have a requiremnet to make a big continues string BOLD only a certain part not all the string. Based on some condition.

Example: abcdefg hijkl mano

Appreciated for your prompt reply.

Thank You,

Ashok

Edited by: Ashok on Sep 30, 2008 11:09 PM

replied

Hello,

I would suggest you create a formula field and in the formula editor put something like this:

crbold + Left ({stringfield}, 5) + ': ' + MID({stringfield}, 6, 20) + ', ' + crregular + crred + MID({stringfield}, 27, 20) + crblack

This assumes that in your stringfield the "sport" is always first, then it's followed by a semi-colon, then the male name is second and the femail name is third. You may need to change the hardcoded numbers and use the instr() function to get their relative starting and ending points in the string field.

Hope this helps!

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question