You might have to use 3 different expressions for this:
1st expression will show any value that does not have "america" as is. If "america" is in it, it'll show only the left side:
=IIf(InStr(Fields!NAme.Value, "america") = 0, Fields!NAme.Value, Left(Fields!NAme.Value, InStr(Fields!NAme.Value, "america")-1))
2nd expression (which you will have to specify set the font as Bold and Red):
=IIf(InStr(Fields!NAme.Value, "america") = 0, NOTHING, "america")
3rd expression will show the right side of the string after "america":
=IIf(InStr(Fields!NAme.Value, "america") = 0, NOTHING, Right(Fields!NAme.Value, Len(Fields!NAme.Value) - (Len(Left(Fields!NAme.Value, InStr(Fields!NAme.Value, "america")-1)) + 7)))
Both the 2nd and 3rd expressions will not have any string shown if the text does not have the word "america" in it.
Hopefully this helps!
-
Edited by
yosedesh
39 minutes ago
Grammar errors.