Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Substring/AWK/substring.awk
Normal file
11
Task/Substring/AWK/substring.awk
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
BEGIN {
|
||||
str = "abcdefghijklmnopqrstuvwxyz"
|
||||
n = 12
|
||||
m = 5
|
||||
|
||||
print substr(str, n, m)
|
||||
print substr(str, n)
|
||||
print substr(str, 1, length(str) - 1)
|
||||
print substr(str, index(str, "q"), m)
|
||||
print substr(str, index(str, "pq"), m)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue