How can I write a python script that does the following:
field(x) of type text field
of type text
I want to populate field
with contents of field(x) by first computing the length of the string in field(x). Based on the length of field(x) I want to add a certain number of the same characters (let us say A). The length of field(x) always has to be 8 characters long.
An example:
field
len
field(x) 20 2 AAAAAA20 1450 4 AAAA1450
I am able to do this manually by first calculating the len
, filter by len
concatenate with the corresponding number of character of A.
أكثر...
field(x) of type text field
I want to populate field
An example:
field
I am able to do this manually by first calculating the len
أكثر...