Answered
Output first 250 characters of html file
Does anyone know how to output the first 250 characters of an
html file.
I am using a cfinclude to output the file but sometimes the html is really long and there are other things on the page. I would like to limit the html file to a certain amount of characters and give the user an option to read the rest.
An example but this doesn't work would be <cfinclude template="#left(file.htm, 250)#">. I know that does not work but it would if the information were in a database.
Any suggestions?
Thanks
I am using a cfinclude to output the file but sometimes the html is really long and there are other things on the page. I would like to limit the html file to a certain amount of characters and give the user an option to read the rest.
An example but this doesn't work would be <cfinclude template="#left(file.htm, 250)#">. I know that does not work but it would if the information were in a database.
Any suggestions?
Thanks
