enotkrutoy commited on
Commit
52c2bd0
·
verified ·
1 Parent(s): bbc62f1

Create string.ps1

Browse files
Files changed (1) hide show
  1. test/string.ps1 +22 -0
test/string.ps1 ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $string = 'hello, world'
2
+ $string = $string.replace('he','a')
3
+ $string = $string.replace('ll','m')
4
+ $string = $string.replace('o,','s')
5
+ $string = $string.replace(' ','i')
6
+ $string = $string.replace('wo','.d')
7
+ $string = $string.replace('rld','ll')
8
+
9
+ $string2 = 'hello, world'
10
+ $string2 = $string2.replace('he','A')
11
+ $string2 = $string2.replace('ll','m')
12
+ $string2 = $string2.replace('o,','s')
13
+ $string2 = $string2.replace(' ','i')
14
+ $string2 = $string2.replace('wo','Sc')
15
+ $string2 = $string2.replace('rld','an')
16
+
17
+ $string3 = 'hello, world'
18
+ $string3 = $string3.replace('hello','Bu')
19
+ $string3 = $string3.replace(', ','ff')
20
+ $string3 = $string3.replace('world','er')
21
+
22
+ $string