your method-call is wrong:

Code:
worte = str_cut (NULL , wort , "g" , anzahl );



but the prototype says:

Quote:
str_cut(STRING* to, char* from, var start, var end)


the 3rd parameter has to be a var (the startindex) and not a string!
see http://www.conitec.net/beta/strio_c.htm


...and welcome to the forums laugh