Created
August 31, 2015 22:32
-
-
Save wellercs/51f563cb00b0b5fab569 to your computer and use it in GitHub Desktop.
This file contains 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> | |
// testxy gives expected results | |
testxy.actual_dimensions = "144xy210"; | |
testxy.actual_dimension_width = listFirst(testxy.actual_dimensions, "x", true); | |
testxy.actual_dimension_height = listLast(testxy.actual_dimensions, "x", true); | |
writedump(testxy); | |
// testxx does not give expected results | |
// expected testxx.actual_dimension_height to be x210 | |
testxx.actual_dimensions = "144xx210"; | |
testxx.actual_dimension_width = listFirst(testxx.actual_dimensions, "x", true); | |
testxx.actual_dimension_height = listLast(testxx.actual_dimensions, "x", true); | |
writedump(testxx); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment