MCPcopy Index your code
hub / github.com/MapServer/MapServer / getPostTagText

Function getPostTagText

maptemplate.c:837–845  ·  view source on GitHub ↗

Helper function to retunr the text after the supplied string2 in string1. */

Source from the content-addressed store, hash-verified

835
836/* Helper function to retunr the text after the supplied string2 in string1. */
837static char *getPostTagText(const char *string1, const char *string2)
838{
839 char *tmpstr;
840
841 if((tmpstr = strstr(string1, string2)) == NULL) return msStrdup(""); /* return an empty string */
842
843 tmpstr += strlen(string2); /* skip string2 */
844 return msStrdup(tmpstr);
845}
846
847/*
848** Function to process a [feature ...] tag. This tag can *only* be found within

Callers 2

processFeatureTagFunction · 0.85
processResultSetTagFunction · 0.85

Calls 1

msStrdupFunction · 0.85

Tested by

no test coverage detected