Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/01/2005 at 04:02, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.100 Platform: Language(s) : C.O.F.F.E.E ;
---------Hello, ich want to check if one string is a part of an other. I know that in the SDK is written :
Searches this string for the first match of the substring.
But I am not good in handling the SDK. I try this but it dosen't work
var test="My Hello"; var sertest="Hello"; var pos; if(FindFirst(sertest,pos,0)->test){ println("Gefunden"); }
Can someone please correkt my Example? Thanks! Tim
On 12/01/2005 at 07:47, xxxxxxxx wrote:
Unless they've changed COFFEE, FindFirst() is C++ SDK. In COFFEE, it's strstr(str,phrase,[pos]).
Check the COFFEE docs.
On 13/01/2005 at 01:37, xxxxxxxx wrote:
Thanks very much! The search function in the COFFEE offline docs is very bad.
Greetings Tim