EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Returns a copy of the string with the white space before and after the string trimmed away. Does not affect whitespace in between words.
The string but with leading and trailing whitespace removed.
Variable | Type | Description |
---|---|---|
string | STRING | The string to transform. |
df.service = " pl/kelvin "df.trimmed = px.trim(df.service) # "pl/kelvin"