Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Substring/Falcon/substring.falcon
Normal file
13
Task/Substring/Falcon/substring.falcon
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* created by Aykayayciti Earl Lamont Montgomery
|
||||
April 9th, 2018 */
|
||||
s = "FalconPL is not just a multi-paradign language but also fun"
|
||||
n = 12
|
||||
m = 5
|
||||
|
||||
> "starting from n characters in and of m length: ", s[n:n+m]
|
||||
> "starting from n characters in, up to the end of the string: ", s[n:]
|
||||
> "whole string minus last character: ", s[0:len(s)-1]
|
||||
new_n = s.find("j", 0)
|
||||
> "starting from a known character within the string and of m length: ", s[new_n:new_n+m]
|
||||
new_n = s.find("mu", 0)
|
||||
> "starting from a known character within the string and of m length: ", s[new_n:new_n+m]
|
||||
Loading…
Add table
Add a link
Reference in a new issue