Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
ClearAll[Squeeze]
|
||||
Squeeze[s_String,sq_String]:=StringReplace[s,x:(sq..):>sq]
|
||||
s={
|
||||
"",
|
||||
"\"If I were two-faced, would I be wearing this one?\" --- Abraham Lincoln",
|
||||
"..1111111111111111111111111111111111111111111111111111111111111117777888",
|
||||
"I never give 'em hell, I just tell the truth, and they think it's hell. ",
|
||||
" --- Harry S Truman "
|
||||
};
|
||||
Squeeze[s[[1]],""]
|
||||
Squeeze[s[[2]],"-"]
|
||||
Squeeze[s[[3]],"7"]
|
||||
Squeeze[s[[4]],"."]
|
||||
Squeeze[s[[5]]," "]
|
||||
Squeeze[s[[5]],"-"]
|
||||
Squeeze[s[[5]],"r"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue