Hi Oliver,
Here is an example from the Help file.
string str4("Happy Birthday");
ASSERT(str4.Find("day",4)==11);
For more information about usage of string class in Origin C, you can see in Origin C Language Reference.
( select Help: Programming on the menu to open the Programming Help. Then select Contents:Origin C Language Reference: Classes: Composite Data Type: string.)
Hope it helps.
Zachary
OriginLab GZ Office
Edited by - zachary_origin on 09/19/2006 05:11:41 AM