1 Reply Latest reply on Nov 16, 2007 12:10 PM by cf_dev2

    Rereplacenocase

    flooker Level 1
      Guys , its simple but i dont know why its not working

      <cfset d = "/CTEPMS/calendar.cfm">

      i want to get the lenght of "/CTEPMS/"

      I tried doing

      <cfset vvv = reReplaceNoCase(trim(#d#),'.+\/.\.cfm','')>

      listlen(vvv);

      Its not working any idea ?

      path could be

      /CTEPMS/calendar.cfm
      or/CTEPMS/calendar.cfc
      /CTEPMS/calendar.html