Functions.SubstringIndex(Column, String, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在给定分隔符出现之前 count
,返回给定字符串中的子字符串。
public static Microsoft.Spark.Sql.Column SubstringIndex (Microsoft.Spark.Sql.Column column, string delimiter, int count);
static member SubstringIndex : Microsoft.Spark.Sql.Column * string * int -> Microsoft.Spark.Sql.Column
Public Shared Function SubstringIndex (column As Column, delimiter As String, count As Integer) As Column
参数
- column
- Column
要应用的列
- delimiter
- String
要查找的分隔符
- count
- Int32
分隔符的出现次数
返回
Column 对象
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈