【发布时间】:2019-09-20 12:15:13
【问题描述】:
我找不到将一个子字符串替换为另一个子字符串的函数。
例如,我有一个组件LabeledEdit,我想在其中写一些文本。之后,我想检查文本中是否有一些空格并将它们替换为%。
String text;
text = LabeledEdit1->Text.Trim();
text = text. <- some replace function to replace " " to "%"
【问题讨论】:
标签: c++ string replace c++builder