Strings
Workflow module Strings from package @jetbrains/youtrack-scripting-api
This module provides support for a specific string utility from the standard Java library.All of the other methods that you can use to work with strings in workflows are taken from the standard JavaScript libraryand behave as described in the MDN documentation.
Module functions
getLevenshteinDistance
static getLevenshteinDistance(str1, str2)
Returns the Levenshtein distance between two strings.Delegates to org.apache.commons.lang.StringUtils.getLevenshteinDistance.
Parameters:
Name | Type | Description |
---|---|---|
str1 | | The first string. |
str2 | | The string that is compared to the first string. |
Last modified: 7 March 2019