Mat
2012-03-17 19:17:50
How can I replace A-Z with out having a huge list of Replace's?
any idea?
Mat
any idea?
Mat
2012-03-17 19:17:50
2012-03-17 20:01:44
ReplaceRegExpr('[A-Z]',InputString,Replacement,TRUE );program new;
var
s :string ;
begin
s:='AbCd54%6464LKP';
s :=ReplaceRegExpr('[A-Z]',s,' +ReplaceWith+ ',TRUE );
writeln(s);
end. +ReplaceWith+ b +ReplaceWith+ d54%6464 +ReplaceWith+ +ReplaceWith+ +ReplaceWith+
2012-03-17 20:04:31
2012-03-17 20:31:50
2012-03-17 20:36:05
From: Mat
Thanks Begin, also how can I remove all the lines? as it now has a huge amounts of enters down, I tried ' ' and it doesn't work? any ideas <3
Mat
2012-03-17 20:39:47
##
2012-03-17 20:57:36
program new;
var
s :string ;
begin
s:='AbCd54%6464L'+#13#10+'nextLine'+#13#10+'dsdsd'+#13#10+'fdsfs';
writeln(s);
s:=ReplaceRegExpr('\x0D\x0A',s,'{++}',TRUE );
writeln('NewString:');
writeln(s);
end.
2012-03-17 21:09:00