Feature request #6079

Add Left & Right to field calculator

Added by aperi2007 - over 10 years ago. Updated over 10 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:15433


I guess the field calculator are two useful function that actually miss from field-calculator.

I know there is substring, but not always it is useful.
An use case:

To populate a new field using the last part of a string from another field of the same shapèefile, the right function is the best solution.
(I guess the the only solution).

The substring work only if the first part of the string is always the same otherwise it is not usable.

Associated revisions

Revision 7a9074f8
Added by Nathan Woodrow over 10 years ago

Add left,right,rpad,lpad string functions - Fix #6079

- With tests :)


#1 Updated by Nathan Woodrow over 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF