zoukankan      html  css  js  c++  java
  • Erlang 从URL中截取尾部文件名

          分析项目edownloader时看到的代码:              

         从 “http://www.aaaa.com.cn/download/bbb/ccc.exe”  中截取ccc.exe

    uri.hrl

    uri.erl


    edownload_util.erl


    3> edownload_util:filename_from_uri("http://www.baidu.com/download/emessager.apk").
    结果:"emessager.apk"


  • 相关阅读:
    MySQL优化实例
    MySQL优化步骤和my.cnf优化配置
    linux高负载下mysql数据库彻底优化
    MySQL配置文件my.cnf详解
    CentOS Linux下MySQL 5.1.x的安装、优化和安全配置
    Apache 配置文件详解
    [LeetCode] Number of Boomerangs
    [LeetCode] Binary Watch
    [LeetCode] Reverse Linked List
    [LeetCode] Maximum Product of Three Numbers
  • 原文地址:https://www.cnblogs.com/yjl49/p/2371923.html
Copyright © 2011-2022 走看看