cut | A | B | C
cut C from position A, for B characters. The difference with macro substring is that here you specify where to cut by numeric positions. Example: with A=2 and B=3 and C=abcdef you will get bcd because it is from character 2 and for a length of 3.
The name of this macro seems to me misleading, the "copy" word would been more adequate
How many programmers uses exclusively the function 'copy(string, from, to) ??
Mainly in the programs, we find rather its by-products which are left, mid, right.
To return to the macro 'cut' there, she executes what makes the function 'copy', excepted for the negative values where it makes exception for the rule.
On this question I would rather have seen the macro cut under this aspect
cut | A | B | C
Example: with C=
ABCDEFGHIJ A=3 and B=4 and ,you will get ABGHIJ
It was everything made possible to make the difference enter
{{substring| AB | GHIJ | ABCDEFGHIJ }}
and
{{substring| 3 | 4 | ABCDEFGHIJ }}
without passing by the macro CUT, because few chances to meet itself in the indecision with
{{substring| 3 | 4 |
4286
35710]4598 }}
Rejetto I have nothing against the command CUT it is simply to argue against bacter
,I excuse him for it. I shall put that at the account of the difference of age, the other time(period), the other philosophy.
At least this debate has to make nothing in this topic.!!!