Skip to Main Content

Using Substring

User_DAALXDec 1 2022

Hi There,
I'm trying to use substring function to get the middle characters from a field as outlined below:
image.pngI have managed to get the surname separated as I need this as well by using the syntax below, but I am struggling with getting the middle characters.
SUBSTRING("Supervisor"."Supervisor Name" from 1 for Locate(',', "Supervisor"."Supervisor Name")-1)