Home > Back-end >  Novice, string substitution problem
Novice, string substitution problem

Time:10-09

ACM today met a question, enter a string, the substitution of a particular word into another word,
For example: you are what you do, after changing into we are what we do, you are three letters, we are two letters, this how to replace, for help

CodePudding user response:

Since is the ACM that you should not be sent to this section, though in the VCL provides convenient StringReplace, but do not meet your requirement,

CodePudding user response:

Oh oh, thank you

CodePudding user response:

To put in TStringList judge to replace ~ ~ ~ ~