SRL Archive - OSR Help

How to use the replace function


xxpoopyxx

2013-03-17 13:14:14

how would i take a string that has a question mark and remove it?

rj

2013-03-17 13:16:00

I don't get what your asking

Le Jingle

2013-03-17 13:24:12


var
s: string;

begin
s := 'how are you?';
writeln(s);
s := ReplaceWrap(s, '?', '', [rfReplaceAll]);
writeln(s);
end.
That last argument can be confusing at first ;)
Hope this helps,
- Le Jingle

xxpoopyxx

2013-03-17 13:32:39

Thanks!!