点击或拖拽改变大小

Functions.PosRepl 方法

X#
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
查看代码

参数

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.

返回值

类型:String
Returns the modified string.
备注
If the parameter nStartPos is not specified the function replaces Len( cReplace ) characters at the end of cString.
参见