ori_wel Posted October 17, 2005 Posted October 17, 2005 In my web site, users can submit text along with the bold, underline, and italics html tags. i.e. [b]Some[/b] text like [u]this[/u] I need to create a calculation field translates the html tags into actual formatted text. I propose to use: Substitute( text ; [b]substring[/b] ; TextStyleAdd( substring ; Bold ) ) However, I do not know how to isolate the substring, particularly when there might be multiple instances within the same text field. Any advice would be much appreciated. Thanks in advance! DSW
-Queue- Posted October 18, 2005 Posted October 18, 2005 You will need a Custom Function for this. You may be able to find one already created for this purpose at Brian Dunning's site.
comment Posted October 18, 2005 Posted October 18, 2005 You will need a Custom Function for this. Or not. HTMLtags.fp7.zip
-Queue- Posted October 18, 2005 Posted October 18, 2005 Good point. I was thinking you would need to include the in-between value in the substitution as well.
ori_wel Posted October 19, 2005 Author Posted October 19, 2005 You are tremendous!! That is absolutely perfect. Many, many thanks. DSW
Recommended Posts
This topic is 7042 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