The tiOPF project available on SourceForge has a tiUtils.pas unit. There are some very handy utility functions in there. For your problem, there is tiToken(..) method, which could be used as follows:
s := 'name: graeme';
r1 := tiToken(s, ':', 1); // r1 now contains 'name'
r2 := tiToken(s, ':', 2); // r2 now contains 'graeme'
There is also a much more advanced tiTokenLibrary.pas unit which supports more options. All of these could be copied and used in other projects without requiring tiOPF - they are simply value added functions/classes.