%RxReplaceStr("text some text", "[a-z]+", "(X)") ;returns text: (X) (X) (X)
%RxReplaceStr("text some text", "[a-z]+", "(X)", 1, 0) ;returns text: (X) (X) (X)
%RxReplaceStr("text some text", "[a-z]+", "(X)", 1, 2) ;returns text: (X) (X) text
%RxReplaceStr("text some text", "[a-z]+", "(X)", 2, 1) ;returns text: t(X) some text
%RxReplaceStr("text some text", "[a-z]+", "(X)", 5, 1) ;returns text: text (X) text
%RxReplaceStr("text some text", "[a-z]+", "(X)", 20, 0) ;returns text: text some text
%RxReplaceStr("text some text", "[a-z]+", "(X)", 0, 20) ;returns text: (X) (X) (X)
Pridať komentár