CE - Named Expression to obtain part of file name

I have a Named Expression the will look to the name of the active file and and report true or false if the file name contains the characters defined in the expression

So a file name of xXX_RoadDesign will report True with this expression System.String.Compare(System.String.SubString(System.Path.GetFileNameWithoutExtension(ActiveFile.FileName),0,3),"xXX").

Is it possible to create a similar expression that will look a the active file name and look at the first 3 characters of the active file name and report what those characters are?

Ex, if the active file name is aAA_RoadDesign the named expression will look at the file name and return "aAA". If I switch to a file named bBB_RoadDesign the expression would return "bBB"?

I'm looking to create a vba that will obtain the first 3 characters of a file name, which determines the discipline, to change a configuration variable to True/False based on those first three file name characters.