Here's an excerpt from the .robot file
*** Settings ***
Documentation A test suite...
| Library | Process |
| Library | Collections |
| Library | String |
[Documentation] Get firmware version
${result}= PerformTextReturningFunction custom_test1
Log ${result}
${lines}= Get Lines Containing String ${result} version*
The line above generates the following in the log