Skip to main content
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: Jacob Holloway
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: Jacob Holloway ( @jakeishTweets )


Member since Jul 31, 2009

Recent Blog Comments By Nikola

  • ColdFusion NumberFormat() Exploration

    Posted on Feb 24, 2010 at 6:17 PM

    I wanted to truncate decimal zeros where 20.123000 would be 20.123. So, I wrote a small function to loop over the reversed string and keep removing zeros... Then I realized I could have just done numberWithoutTrailingZeros = numberWithTrailingZeros * 1; Damn!... read more »

  • Getting @@RowCount After SQL INSERT INTO Statement

    Posted on Nov 16, 2009 at 6:12 PM

    Christoph's suggesing did not work for me. I had to use SET NO COUNT ON: <cfquery name="qry" datasource="#myDSN"> SET NOCOUNT ON INSERT INTO myTable (myField) SELECT yourField FROM yourTable WHERE ID < 5 SET NOCOUNT OFF SELECT @@rowcount as numOfRecs </cfquery> <cfdump var="#... read more »

  • Ask Ben: Breaking An SMS Text Message Up Into Multiple Parts

    Posted on Aug 21, 2009 at 12:45 PM

    This regex IS awesome. Off to to learn more... Apparently -- Ben, please correct me if I'm wrong -- Ben is using a "positive lookahead" to match at least one and at most 120 consecutive characters followed by an "acceptable word boundry". An "... read more »

  • ColdFusion vs. XYZ - It Finally Got Physical

    Posted on Aug 17, 2009 at 7:02 PM

    @theApocalypse What's the difference between hating a guy just because he's a CF'er vs. hating a guy because he's a PHP'er?... read more »

  • Converting ISO Date/Time To ColdFusion Date/Time

    Posted on Jul 31, 2009 at 5:56 PM

    This post helped a lot. I'm parsing NOOA ATOM and CAP Watches, Warnings, and Advisories feeds. Their times (for cap:effective and cap:expires) are in this format. Finding out what the format was called was the hard part. Once I found that, out your post came up 1st on Google. Thanks!... read more »