DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Return A Filename At Its Suffix Offset

01.22.2006
| 724 views |
  • submit to reddit
        
    at-suffix: func [
        "Return the filename or url at its suffix; or NONE."
        string [any-string!]
    ][
        find string suffix? string
    ]