Hi,
I have built some templates used in our SharePoint site. They are Word 2003 format.
I have inserted some docproperty fields to populate some of the server-based data into the document.
I have one field however, that I would like to include all of the text before the ","
For example, the docproperty field returns:
Marketing Department, London
Is there a way of truncating the field to only show the text before the comma? - so that I only see:
Marketing Department
I have constraints in that I can't fix the data at source and can't use macros.
Is there a field code switch or other means of achieving this?
Many thanks for any help !
Toonaway
I have built some templates used in our SharePoint site. They are Word 2003 format.
I have inserted some docproperty fields to populate some of the server-based data into the document.
I have one field however, that I would like to include all of the text before the ","
For example, the docproperty field returns:
Marketing Department, London
Is there a way of truncating the field to only show the text before the comma? - so that I only see:
Marketing Department
I have constraints in that I can't fix the data at source and can't use macros.
Is there a field code switch or other means of achieving this?
Many thanks for any help !
Toonaway