Changes between Version 266 and Version 268 of Help/Styles/MapCSSImplementation
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v266 v268 1274 1274 return the substring of ''str'', starting at index ''idx'' (0-indexed) [''since r6534''] 1275 1275 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''] 1277 1277 replace(string, old, new):: 1278 1278 Replaces any occurrence of the substring ''old'' within the string ''string'' with the text ''new'' … … 1331 1331 sort(''str1'', ''str2'', ''str3'', ''...''):: 1332 1332 sorts an array of strings [''since r15279''] 1333 sort_list():: 1333 sort_list(''list_name''):: 1334 1334 sorts a list of strings [''since r15279''] 1335 1335 tag_regex(''regex''):: 1336 returns a list of values that match the regex [''since r15317'']1336 returns a list containing the values of keys that match the regex [''since r15317''] 1337 1337 to_boolean(''str''):: 1338 1338 returns the string argument as a boolean [''since r16110''] … … 1351 1351 uniq(''str1'', ''str2'', ''str3'', ''...''):: 1352 1352 returns a list of strings that only have unique values from an array of strings [''since r15323''] 1353 uniq_list():: 1354 returns a list of strings that only have unique values from a list of strings [''since r153 53'']1353 uniq_list(''list_name''):: 1354 returns a list of strings that only have unique values from a list of strings [''since r15323''] 1355 1355 parent_way_angle():: 1356 1356 returns the angle of the parent way as a double in rad [''since r18664''] (see: text-rotation or icon-rotation)
