ShannonM Posted September 24, 2010 Posted September 24, 2010 (edited) 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, 2010 by Guest ID Field Type
Lee Smith Posted September 24, 2010 Posted September 24, 2010 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
comment Posted September 24, 2010 Posted September 24, 2010 Try: Substitute ( TextStyleAdd ( originalGenus ; Italic ) ; "(" ; TextStyleAdd ( "(" ; Plain ) )
Recommended Posts
This topic is 5232 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now