Skip to main content

This plug-in is to make a string operations like: lowercase remove spaces split and other

Project description

String properties and transformations

The purpose of this plugin is return string properties and some transformations as upper case, etc.

Configuration

This node requires configuration.

You have to provide a path to string that needs to be transformed.

{
  "string": "event@path.to.data"
}

Input payload

This node does not process input payload.

Output

This plugin returns anobject with transformed string and all its properties such as: isdigit, isupper, etc.

Available properties and transformations

  • capitalize - Converts the first character to upper case
  • casefold - Converts string into lower case
  • isalnum - Returns True if all characters in the string are alphanumeric
  • isalpha - Returns True if all characters in the string are in the alphabet
  • isascii - Returns True if all characters in the string are ascii characters
  • isdecimal - Returns True if all characters in the string are decimals
  • isdigit - Returns True if all characters in the string are digits
  • isidentifier - Returns True if the string is an identifier
  • islower - Returns True if all characters in the string are lower case
  • isnumeric - Returns True if all characters in the string are numeric
  • isprintable - Returns True if all characters in the string are printable
  • isspace - Returns True if all characters in the string are whitespaces
  • istitle - Returns True if the string follows the rules of a title
  • isupper - Returns True if all characters in the string are upper case
  • lstrip - Returns a left trim version of the string
  • swapcase - Swaps cases, lower case becomes upper case and vice ver sa
  • title - Converts the first character of each word to upper case
  • upper - Converts a string into upper case
  • lower - Converts a string into lower case

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tracardi-string-operations-0.6.0.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page