Feature request #3177

field calculator improvements: functions for strings

Added by Giovanni Manghi over 13 years ago. Updated over 13 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Vectors
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:13237

Description

it would be nice to have:

*) a function for search/replace

*) a function to change everything to uppercase/lowercase

*) a function to calculate the length of a string

Associated revisions

Revision 8fb07b0c
Added by Jürgen Fischer over 13 years ago

[FEATURE] add field calculator functions (implements #3177)
- add support for functions with 2 or three arguments
- add function atan2(y,x)
- add length(string) to determine string length
- add replace(string,from,to) to do string replaces
- add substr(string,from,length) to retrieve substrings
- add (preliminary) online help to field calculator with a listing of operations.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14533 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 7b9cb74f
Added by Jürgen Fischer over 13 years ago

[FEATURE] add field calculator functions (implements #3177)
- add support for functions with 2 or three arguments
- add function atan2(y,x)
- add length(string) to determine string length
- add replace(string,from,to) to do string replaces
- add substr(string,from,length) to retrieve substrings
- add (preliminary) online help to field calculator with a listing of operations.

git-svn-id: http://svn.osgeo.org/qgis/trunk@14533 c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer over 13 years ago

  • Status changed from Open to In Progress

the function upper() / lower() are already there.

#2 Updated by Jürgen Fischer over 13 years ago

see also .

#3 Updated by Jürgen Fischer over 13 years ago

fixed in 7b9cb74f (SVN r14534).

#4 Updated by Jürgen Fischer over 13 years ago

  • Resolution set to fixed
  • Status changed from In Progress to Closed

Also available in: Atom PDF