September 24, 201015 yr Hello, I am looking for help with what I thought would be a fairly simple text formatting calculation. I have a text field (originalGenus) that typically has italics applied to it. I have now come across some cases where I need the italics to be removed from certain characters within the field. For example, typically the field is populated with the text "Genus". In some cases, it contains "Genus (Subgenus)". Now, I need both, genus and subgenus to be italicized, but not the brackets. This field is subsequently used in other calculation fields to format a complicated output used for a taxonomic catalogue. I was hoping this would work, but it does not: Substitute ( TextStyleAdd (originalGenus;Italic) ; "(" ; TextStyleRemove ("(";Italic) ) Am I missing a simple answer? Any help would be much appreciated! Edited September 30, 201015 yr by Guest ID Field Type
September 24, 201015 yr I don't have v8 on this machine, but I'm pretty sure you can modify this file from NightWing Link to do what you want. HTH Lee
September 24, 201015 yr Try: Substitute ( TextStyleAdd ( originalGenus ; Italic ) ; "(" ; TextStyleAdd ( "(" ; Plain ) )
Create an account or sign in to comment