comparison string.rhope @ 112:fd23ab2c1a73

Small changes to make profile data a little cleaner
author Mike Pavone <pavone@retrodev.com>
date Mon, 11 Oct 2010 21:53:27 -0400
parents 13dfe8214254
children 0a4682be2db2
comparison
equal deleted inserted replaced
111:13dfe8214254 112:fd23ab2c1a73
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 {