string manipulation
charsub character substitution
cut cut text, by default on blanks
cuts cut y. at x. (conjunction)
deb delete extra blanks
dlb delete leading blanks
dltb delete leading and trailing blanks
dtb delete trailing blanks
delstring delete occurrences of x. from y.
ljust left justify
rjust right justify
rplc replace in string
ss string search for x. in y.
dropafter drop after x. in y.
dropto drop to x. in y.
takeafter take after x. in y.
taketo take to x. in y.
For example:
3 = 'de' # cuts _1 'abcdefg'
'abcfg' = 'de' delstring 'abcdefg'
'abcde' = 'de' dropafter 'abcdefg'
'defg' = 'de' dropto 'abcdefg'
'fg' = 'de' takeafter 'abcdefg'
'abc' = 'de' taketo 'abcdefg'
Defined items
Name | Class | Description |
---|
cuts | Verb | cut y. at x. (conjunction) |
cut | Verb | cut text, by default on blanks |
deb | Verb | delete extra blanks |
dlb | Verb | delete leading blanks |
dltb | Verb | delete leading and trailing blanks |
dtb | Verb | delete trailing blanks |
delstring | Verb | delete occurrences of x. from y. |
ljust | Verb | left justify |
rjust | Verb | right justify |
ss | Verb | string search |
dropafter | Verb | drop after x. in y. |
dropto | Verb | drop to x. in y. |
takeafter | Verb | take after x. in y. |
taketo | Verb | take to x. in y. |
charsub | Verb | character substitution |
rplc | Verb | replace in string |