Functions.PosDel 方法 | |
Removes characters at a specified position in a string.
命名空间:
XSharp.XPP
程序集:
XSharp.XPP (在 XSharp.XPP.dll 中) 版本:2.22 GA
语法 FUNCTION PosDel(
cString,
nStartPos,
nDeleteLen
) AS STRING CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static string PosDel(
__Usual cString = default,
__Usual nStartPos = default,
__Usual nDeleteLen = default
)
查看代码参数
- cString (Optional)
- 类型:__Usual
String to check - nStartPos (Optional)
- 类型:__Usual
1 based position to start deleting from. Defaults to Len(cString). - nDeleteLen (Optional)
- 类型:__Usual
The number of characters to delete.
返回值
类型:
StringReturns the modified string.
参见