commit 2025-09-02 14:24 fix bug in Replace() in ZCppMain/ZtCStringEx.H
This commit is contained in:
@ -166,7 +166,7 @@ namespace ZNsMain
|
||||
(
|
||||
VPC_ThisStart + VL_DestStart,
|
||||
VPC_ThisStart + VL_MoveStart,
|
||||
VL_MoveStart - VL_DestStart
|
||||
VL_ThisSize - VL_MoveStart
|
||||
);
|
||||
/*::::::::::::::::::::::::::::::::::::::::*/
|
||||
}/*
|
||||
@ -282,6 +282,20 @@ namespace ZNsMain
|
||||
###########################################################################*/
|
||||
|
||||
|
||||
ZCStringStd& Replace /*####################################################*/
|
||||
(
|
||||
TypeCPChar APC_Search, TypeCPChar APC_Replace, TypeLength AL_Offset=0
|
||||
)
|
||||
/*#########################################################################*/
|
||||
{
|
||||
return Replace(APC_Search, APC_Replace, ZftLength(APC_Search), ZftLength(APC_Replace), AL_Offset);
|
||||
}/*
|
||||
ZCStringStd& Replace /*######################################################
|
||||
(
|
||||
TypeCPChar APC_Search, TypeCPChar APC_Replace, TypeLength AL_Offset=0
|
||||
)
|
||||
###########################################################################*/
|
||||
|
||||
public:
|
||||
};/*
|
||||
class ZCStringStd : public std::string*/
|
||||
|
Reference in New Issue
Block a user