[Mapserver-users] Mapfile reference question

woodbri at swoodbridge.com woodbri at swoodbridge.com
Thu Jan 8 11:50:01 PST 2004


Hi all,

I seem to remember using some string function in the mapfile but I 
can't find any reference to them. Do you know about them? can you add 
them to the mapfile-reference.

http://mapserver.gis.umn.edu/doc40/mapfile-reference.html

It was used like:

TEXT (mid(3,-1,[FIELD]))
or maybe
TEXT (mid(3,len([FIELD]),[FIELD])

to generate extract characters 3..len([FIELD])

it seems to me that there were functions like:

mid(start,stop,string)
left(num,string)
right(num,string)
len(string)
concat(string1,string2,...)

Have these gone away, was I dreaming, or replaced by regular 
expressions? If these are still valid, they should get added to the 
Mapfile reference.

-Steve W.



More information about the MapServer-users mailing list