14 lines
564 B
Plaintext
14 lines
564 B
Plaintext
/* 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]
|