• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

Mid

Synopsis

                  Mid(string, startpos, count)

Returns count number of characters from the string beginning at the position specified by startpos. Example:

<cfset MyString="(555)555-5555 x5555">
<cfset AreaCode = Mid(MyString, 2, 3)>
   
<cfoutput>
<b>String:</b> #MyString#<br>
<b>Area Code:</b> #AreaCode#
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint