Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
4
Task/Literals-String/Phix/literals-string-4.phix
Normal file
4
Task/Literals-String/Phix/literals-string-4.phix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
string s = "food"
|
||||
s[2..3] = 'e' -- s is now "feed" (replace all)
|
||||
s[2..2] = "east" -- s is now "feasted" (replace substring)
|
||||
s[2..5] = "" -- s is now "fed"
|
||||
Loading…
Add table
Add a link
Reference in a new issue