I would like to know, what's the first character of the value of the editor field. If the character is a curly bracket "{" the value should be printed for example bold, if the first character is something else the fields value should be printed \textnormal.

I've tried to do that with the package xstring and the following code in a biblatex declaration:

1 Answer
1

Looks like you should read up on data types in biblatex; editor is of the type name list, not field. Some details on how you can access data in a name list are described in the documentation on \DeclareNameFormat. You're on the right track in using xstring, but more care is required in passing arguments.

The code below will print out any corporate editor (i.e. any editor name enclosed in braces - see section 2.3.3 of the biblatex manual, version 1.4b) in boldface. I've applied edits to the generic biblatex format and macro definitions, but depending on the style you are using this solution will probably need to be adapted.