You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: aperi2007 - (aperi2007 -)
Original Redmine Issue: 5214
Hi,
in the field-calculator to fill a field of the attribute-table,
should be really useful a function like the
"repeat(S text,N integer)"
to produce a new string with N times the string S,
like as exmaple:
repeat("0", 10) ==> "0000000000"
This is really useful to produce a code-block using it with the "length" functin.
Author Name: aperi2007 - (aperi2007 -)
Original Redmine Issue: 5214
Hi,
in the field-calculator to fill a field of the attribute-table,
should be really useful a function like the
"repeat(S text,N integer)"
to produce a new string with N times the string S,
like as exmaple:
repeat("0", 10) ==> "0000000000"
This is really useful to produce a code-block using it with the "length" functin.
as this example:
= repeat("0",10-length($rec)) || field($rec)
this will produce a code-block like this:
0000000001
0000000002
0000000003
0000000004
0000000005
...
0000000009
0000000010
0000000011
The text was updated successfully, but these errors were encountered: