Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
init
  • Loading branch information
zhengruifeng committed Jun 26, 2024
commit ed58bc5d3d88f72c0d054d3fb803f7dd9fce0d74
4 changes: 2 additions & 2 deletions python/pyspark/sql/functions/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10940,13 +10940,13 @@ def substring(
starting position in str.

.. versionchanged:: 4.0.0
`pos` now accepts Columns or names of Columns.
`pos` now accepts column and column name.

len : :class:`~pyspark.sql.Column` or str or int
length of chars.

.. versionchanged:: 4.0.0
`len` now accepts Columns or names of Columns.
`len` now accepts column and column name.

Returns
-------
Expand Down