apoc.text

Qualified Name Type Release

apoc.text.doubleMetaphone(value) yield value - Compute the Double Metaphone phonetic encoding of all words of the text value which can be a single string or a list of strings

Procedure

APOC Core

apoc.text.phonetic(value) yield value - Compute the US_ENGLISH phonetic soundex encoding of all words of the text value which can be a single string or a list of strings

Procedure

APOC Core

apoc.text.phoneticDelta(text1, text2) yield phonetic1, phonetic2, delta - Compute the US_ENGLISH soundex character difference between two given strings

Procedure

APOC Core

apoc.text.base64Decode(text) YIELD value - Decode Base64 encoded string

Function

APOC Core

apoc.text.base64Encode(text) YIELD value - Encode a string with Base64

Function

APOC Core

apoc.text.base64UrlDecode(url) YIELD value - Decode Base64 encoded url

Function

APOC Core

apoc.text.base64UrlEncode(text) YIELD value - Encode a url with Base64

Function

APOC Core

apoc.text.byteCount(text,[charset]) - return size of text in bytes

Function

APOC Core

apoc.text.bytes(text,[charset]) - return bytes of the text

Function

APOC Core

apoc.text.camelCase(text) YIELD value - Convert a string to camelCase

Function

APOC Core

apoc.text.capitalize(text) YIELD value - capitalise the first letter of the word

Function

APOC Core

apoc.text.capitalizeAll(text) YIELD value - capitalise the first letter of every word in the text

Function

APOC Core

apoc.text.charAt(text, index) - the decimal value of the character at the given index

Function

APOC Core

apoc.text.clean(text) - strip the given string of everything except alpha numeric characters and convert it to lower case.

Function

APOC Core

apoc.text.code(codepoint) - Returns the unicode character of the given codepoint

Function

APOC Core

apoc.text.compareCleaned(text1, text2) - compare the given strings stripped of everything except alpha numeric characters converted to lower case.

Function

APOC Core

apoc.text.decapitalize(text) YIELD value - decapitalize the first letter of the word

Function

APOC Core

apoc.text.decapitalizeAll(text) YIELD value - decapitalize the first letter of all words

Function

APOC Core

apoc.text.distance(text1, text2) - compare the given strings with the Levenshtein distance algorithm.

Function

APOC Core

apoc.text.doubleMetaphone(value) yield value - Compute the Double Metaphone phonetic encoding of all words of the text value

Function

APOC Core

apoc.text.format(text,[params],language) - sprintf format the string with the params given

Function

APOC Core

apoc.text.fuzzyMatch(text1, text2) - check if 2 words can be matched in a fuzzy way. Depending on the length of the String it will allow more characters that needs to be edited to match the second String.

Function

APOC Core

apoc.text.hammingDistance(text1, text2) - compare the given strings with the Hamming distance algorithm.

Function

APOC Core

apoc.text.hexCharAt(text, index) - the hex value string of the character at the given index

Function

APOC Core

apoc.text.hexValue(value) - the hex value string of the given number

Function

APOC Core

apoc.text.indexOf(text, lookup, from=0, to=-1==len) - find the first occurence of the lookup string in the text, from inclusive, to exclusive, -1 if not found, null if text is null.

Function

APOC Core

apoc.text.indexesOf(text, lookup, from=0, to=-1==len) - finds all occurences of the lookup string in the text, return list, from inclusive, to exclusive, empty list if not found, null if text is null.

Function

APOC Core

apoc.text.jaroWinklerDistance(text1, text2) - compare the given strings with the Jaro-Winkler distance algorithm.

Function

APOC Core

apoc.text.join(['text1','text2',…​], delimiter) - join the given strings with the given delimiter.

Function

APOC Core

apoc.text.levenshteinDistance(text1, text2) - compare the given strings with the Levenshtein distance algorithm.

Function

APOC Core

apoc.text.levenshteinSimilarity(text1, text2) - calculate the similarity (a value within 0 and 1) between two texts.

Function

APOC Core

apoc.text.lpad(text,count,delim) YIELD value - left pad the string to the given width

Function

APOC Core

apoc.text.phonetic(text) yield value - Compute the US_ENGLISH phonetic soundex encoding of all words of the text

Function

APOC Core

apoc.text.random(length, valid) YIELD value - generate a random string

Function

APOC Core

apoc.text.regexGroups(text, regex) - return all matching groups of the regex on the given text.

Function

APOC Core

apoc.text.regreplace(text, regex, replacement) - replace each substring of the given string that matches the given regular expression with the given replacement.

Function

APOC Core

apoc.text.repeat(item, count) - string multiplication

Function

APOC Core

apoc.text.replace(text, regex, replacement) - replace each substring of the given string that matches the given regular expression with the given replacement.

Function

APOC Core

apoc.text.rpad(text,count,delim) YIELD value - right pad the string to the given width

Function

APOC Core

apoc.text.slug(text, delim) - slug the text with the given delimiter

Function

APOC Core

apoc.text.snakeCase(text) YIELD value - Convert a string to snake-case

Function

APOC Core

apoc.text.sorensenDiceSimilarityWithLanguage(text1, text2, languageTag) - compare the given strings with the Sørensen–Dice coefficient formula, with the provided IETF language tag

Function

APOC Core

apoc.text.split(text, regex, limit) - splits the given text around matches of the given regex.

Function

APOC Core

apoc.text.swapCase(text) YIELD value - Swap the case of a string

Function

APOC Core

apoc.text.toCypher(value, {skipKeys,keepKeys,skipValues,keepValues,skipNull,node,relationship,start,end}) | tries it’s best to convert the value to a cypher-property-string

Function

APOC Core

apoc.text.toUpperCase(text) YIELD value - Convert a string to UPPER_CASE

Function

APOC Core

apoc.text.upperCamelCase(text) YIELD value - Convert a string to camelCase

Function

APOC Core

apoc.text.urldecode(text) - return the urldecoded text

Function

APOC Core

apoc.text.urlencode(text) - return the urlencoded text

Function

APOC Core