我需要帮助添加表达式以修剪分页报告中的字段值。该字段由名字、姓氏和其中的号码组成。我只想显示名字和姓氏,但我不知道如何显示。我一直在尝试使用 LEN、LEFT 和 RIGHT,但我不知道如何正确使用它们。下面是一个值的示例
“莎拉·利普顿 4568875312”< This would be displayed when selecting the field name "Personnel".
“莎拉·利普顿”< I would like it to display as this.
所有电话号码的长度均相同,均为 10 个字符。
请帮我添加一个表达式来修剪字段内容。
我尝试过 =Left(Fields!Personnel.Value, Len(Fields!Personnel.Value) - InStr(Fields!Personnel.Value, "4"))