Hello Jean-Noël, About STRING_NOTFOUND, you can take a look to "getToken" function in tools/source/string/tustring.cxx since this function is called line 388: 385 while ( nIndex != STRING_NOTFOUND ) 386 { 387 xub_StrLen nPrevIndex = nIndex; 388 XubString aToken = aText.GetToken( 0, mcMultiSep, nIndex ); About string classes, you can take a look here: https://wiki.documentfoundation.org/Development/String_Classes Finally, about convertion examples, you'll find some here: http://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=XubString Hope it helps. Julien -- View this message in context: http://nabble.documentfoundation.org/Strange-loop-in-vcl-source-control-combobox-tp4037060p4037082.html Sent from the Dev mailing list archive at Nabble.com.