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"


  • 相关阅读:
    LeetCode 32. 最长有效括号(Longest Valid Parentheses)
    LeetCode 141. 环形链表(Linked List Cycle)
    LeetCode 160. 相交链表(Intersection of Two Linked Lists)
    LeetCode 112. 路径总和(Path Sum)
    LeetCode 124. 二叉树中的最大路径和(Binary Tree Maximum Path Sum)
    LightGBM新特性总结
    sql service 事务与锁
    C#泛型实例详解
    C# 中的委托和事件(详解)
    C# DateTime日期格式化
  • 原文地址:https://www.cnblogs.com/yjl49/p/2371923.html
Copyright © 2011-2022 走看看