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

Valid Variable Name Funciton

New Here ,
Dec 10, 2007 Dec 10, 2007

Copy link to clipboard

Copied

Is there a function to test for a valid variable name? For example: IsValidVariableName( ) returns boolean. I know that I can CFTRY/CATCH on a cfset, but would prefer to test before setting if possible.
TOPICS
Advanced techniques

Views

261

Translate

Translate

Report

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

Guide , Dec 10, 2007 Dec 10, 2007
Try the IsValid function with variableName
http://livedocs.adobe.com/coldfusion/7/htmldocs/00000534.htm

Votes

Translate

Translate
Guide ,
Dec 10, 2007 Dec 10, 2007

Copy link to clipboard

Copied

LATEST
Try the IsValid function with variableName
http://livedocs.adobe.com/coldfusion/7/htmldocs/00000534.htm

Votes

Translate

Translate

Report

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
Documentation