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