Mercurial > repos > rhope
comparison string.rhope @ 115:04148770c229
Merge
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 13 Oct 2010 01:18:53 +0000 |
parents | fd23ab2c1a73 |
children | 0a4682be2db2 |
comparison
equal
deleted
inserted
replaced
114:25a205094f9b | 115:04148770c229 |
---|---|
903 String@String Slice[string:out] | 903 String@String Slice[string:out] |
904 { | 904 { |
905 out <- string | 905 out <- string |
906 } | 906 } |
907 | 907 |
908 Replace[string,toreplace,with:out] | 908 Replace[string,otoreplace,with:out] |
909 { | 909 { |
910 toreplace <- Pattern[otoreplace] | |
910 ,delim,after <-[string]Partition[toreplace] | 911 ,delim,after <-[string]Partition[toreplace] |
911 { | 912 { |
912 wt <- Blueprint Of[with] | 913 wt <- Blueprint Of[with] |
913 If[ [[[wt]=[String()]] Or [[wt]=[String Slice()]]] Or [[wt]=[String Cat()]] ] | 914 If[ [[[wt]=[String()]] Or [[wt]=[String Slice()]]] Or [[wt]=[String Cat()]] ] |
914 { | 915 { |