Changes between Version 267 and Version 268 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2024-11-15T17:24:18+01:00 (4 months ago)
Author:
stoecker
Comment:

See #23943, neagative substring end index

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v267 v268  
    12741274  return the substring of ''str'', starting at index ''idx'' (0-indexed) [''since r6534'']
    12751275 substring(str, start, end)::
    1276   return the substring of ''str'', starting at index ''start'' (inclusive) up to ''end'' (exclusive) (0-indexed) [''since r6534'']
     1276  return the substring of ''str'', starting at index ''start'' (inclusive) up to ''end'' (exclusive) (0-indexed) [''since r6534''], a negative end index counts from the string end [''since r19259'']
    12771277 replace(string, old, new)::
    12781278   Replaces any occurrence of the substring ''old'' within the string ''string'' with the text ''new''