This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| private struct function splitTargetPath(required string targetPath, required array splittedSourcePath) { | |
| local.splittedTargetPath = []; | |
| local.indexPath = "" | |
| local.startPos = 1; | |
| for (local.token in arguments.splittedSourcePath) { | |
| local.splitTokenLen = listLen(local.token.path, "."); | |
| local.splitTokenPath = arrayToList( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfsetting enableCFOutputOnly="true"> | |
| <cffunction name="test" output=true> | |
| foo #now()#<br> | |
| <cfoutput> | |
| bar #now()# <br> | |
| </cfoutput> | |
| </cffunction> | |
| <cfset test()> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfsavecontent variable="myOutput"> | |
| test 1 | |
| <cfsetting enableCFOutputOnly="true"> | |
| test 2 | |
| <cfsetting enableCFOutputOnly="false"> | |
| test 3 | |
| </cfsavecontent> | |
| test 4 | |
| <cfdump var="#myOutput#"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| thirdparty = { | |
| a = 1, | |
| b = 2 | |
| } | |
| dump(thirdparty.keyArray()); | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| thirdparty = { | |
| a = 1, | |
| b = 2 | |
| } | |
| dump(thirdparty.keyArray()); | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| thirdparty = { | |
| a = 1, | |
| b = 2 | |
| } | |
| dump(thirdparty.keyArray().sort("text")); | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| thirdparty = { | |
| a = 1, | |
| b = 2 | |
| } | |
| dump(thirdparty.keyArray().sort("text")); | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| xxx = { | |
| "body": "", | |
| "id": "3659-2A8F0BEC8242862B", | |
| "year": "2019", | |
| "make": "SEAT", | |
| "model": "LEON", | |
| "series": "MK3 (5F) (SE370)", | |
| "fuelType": "PETROL", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| dates = { | |
| testDate = "2026-05-01"; | |
| today = parseDateTime(now()); | |
| checkDate = parseDateTime("2026-05-01"); | |
| } | |
| echo(dateCompare(now(), testDate, 'd')); | |