Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Output query with HTML delimiters. Remove at end of loop

Participant ,
Sep 21, 2009 Sep 21, 2009

I have <cfoutput query="rsgenre"> #rsgenre.genre# / </cfoutput>

which gives me:

crime / mystery / comedy /

How can i drop the character at the end to get:

crime / mystery / comedy

TOPICS
Advanced techniques
603
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Valorous Hero , Sep 21, 2009 Sep 21, 2009

One method.

<cfoutput query="rsgenre"> #rsgenre.genre# <cfif rsgenre.currentRow NEQ rsgenre.recordCount>/</cfif> </cfoutput>
Translate
Valorous Hero ,
Sep 21, 2009 Sep 21, 2009

One method.

<cfoutput query="rsgenre"> #rsgenre.genre# <cfif rsgenre.currentRow NEQ rsgenre.recordCount>/</cfif> </cfoutput>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 21, 2009 Sep 21, 2009
LATEST

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources