C#-截取字符串----ShinePans
来源:互联网 发布:java编写菱形图案 编辑:程序博客网 时间:2024/05/02 02:04
//format的使用//查询今天的日期//截取字符串using System;class program{ static void Main() { string strAllPath = "D:\\C# ABCD\\C# abcd.exe"; string strPath = strAllPath.Substring(0, strAllPath.LastIndexOf("\\") + 1); string strName = strAllPath.Substring(strAllPath.LastIndexOf("\\") + 1); Console.WriteLine("文件路径:",strPath); Console.WriteLine("文件名:", strName); Console.ReadLine(); }}
3 0
- C#-截取字符串----ShinePans
- C#-format-分隔字符串---ShinePans
- C#-format-填充字符串---ShinePans
- C#-format-删除字符串---ShinePans
- C#-字符串的加解密,DES标准,DESCryptoServiceProvider---ShinePans
- 字符串截取(C#)
- C 截取字符串
- C -- 截取字符串
- c语言 字符串截取
- C#---截取字符串
- C 字符串截取
- C字符串截取函数
- c++Csring 截取字符串
- C 截取字符串
- c字符串截取
- C语言截取字符串
- C语言 字符串截取
- c中字符串截取
- 勤劳的算法-穷举法
- java中hashcode()和equals()的详解
- 不要让急躁左右自己
- hdu 1157
- LeetCode 34 — Search for a Range(C++ Java Python)
- C#-截取字符串----ShinePans
- debug G++: Internal Error: Killed (Program Cc1plus)
- python学习小计(五)
- SDUT 1252 - 进制转换
- 今天
- android学习点点滴滴(二)
- 线性表、栈、队列、单链队列、循环队列 内存分配介绍
- hdu的题目分类
- Python实现股票行情接收V010