Functions.PosRepl 方法 | |
Inserts a character string into a string at a specified position.
命名空间:
XSharp.XPP
程序集:
XSharp.XPP (在 XSharp.XPP.dll 中) 版本:2.22 GA
语法 FUNCTION PosRepl(
cString,
cReplace,
nStartPos
) AS STRING CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static string PosRepl(
__Usual cString = default,
__Usual cReplace = default,
__Usual nStartPos = default
)
查看代码参数
- cString (Optional)
- 类型:__Usual
String to update - cReplace (Optional)
- 类型:__Usual
The string to insert. - nStartPos (Optional)
- 类型:__Usual
1 based position where the string must be inserted.
返回值
类型:
StringReturns the modified string.
备注 If the parameter nStartPos is not specified the function
replaces Len( cReplace ) characters at the end of cString.
参见