导航:  String Procedures >

AfxStrDelete

上一页返回章节概述下一页

描述

 

从字符串表达式中删除指定数量的字符.

 

FreeBASIC 语法

 

FUNCTION AfxStrDelete ( _

BYREF wszMainStr AS WSTRING, _

BYVAL nStart AS LONG, _

BYVAL nCount AS LONG _

) AS CWSTR

 

参数

 

wszMainStr

 

[in]主串.

 

nStart

 

[in]的起始位置.

 

nCount

 

[in]数量的字符被删除.

 

用法示例

 

DIM cws AS CWSTR = AfxStrDelete("1234567890", 4, 3)   ' Returns 1234890"

 

引用文件

 

AfxStr.inc