commit 2025-09-02 14:24 fix bug in Replace() in ZCppMain/ZtCStringEx.H

This commit is contained in:
2025-09-02 14:24:11 +09:00
parent af3cf17663
commit 832cd98558
2 changed files with 37 additions and 15 deletions

View File

@ -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*/