谁帮我看看这个函数
public static string jiequ(string alltext,string startext,string endtext)
{
int i =alltext.IndexOf(startext)+startext.Length;
int s =alltext.IndexOf(endtext);
string str=alltext.Substring(i,s);
return str;
}
我想实现的功能:把alltext中,startext 和 endtext中的字符串取出来
{
int i =alltext.IndexOf(startext)+startext.Length;
int s =alltext.IndexOf(endtext);
string str=alltext.Substring(i,s);
return str;
}
我想实现的功能:把alltext中,startext 和 endtext中的字符串取出来
...全文
相关推荐
2.13【视频讲解】函数——帮你做事情(下).mp4
2.13【视频讲解】函数——帮你做事情(下).mp4
2.12【视频讲解】函数——帮你做事情(上).mp4
2.12【视频讲解】函数——帮你做事情(上).mp4
办公自动化EXCEL 2016 工资表数据分析TRIMMEAN函数帮
办公自动化EXCEL 2016 工资表数据分析TRIMMEAN函数帮你修剪不一样的平均值.mp4
InstallShield内部库函数,帮你快速学习InstallShield
InstallShield内部库函数,帮你快速学习InstallShield,快速查询
C语言库函数 帮你学好C语言
按英文字母将C语言的函数库进行分类,为你学好C语言铺平道路 C语言库函数(G类字母) - 2 WWW.WinYes.NET --> Turbo C 2.0 汉化版技术支持网站 函数名: getdate 功 能: 取DOS日期 用 法: void getdate(struct *dateblk); 程序例: #include <dos.h> #include <stdio.h> int main(void) { struct date d; getdate(&d); printf("The current year is: %d\n", d.da_year); printf("The current day is: %d\n", d.da_day); printf("The current month is: %d\n", d.da_mon); return 0; }


