Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does anybody use the string method search()

Hello,

 

I use the code

 

     positionTrenner = utf8_read.search(TRENNZEICHEN);

 

with positionTrenner is an integer, utf8_read is a (notempty) string and TRENNZEICHEN (=";") is a constant, which is part of utf8_read.

 

When I deactivate this line and use a fixed number for positionTrenner my code works fine, if I use this line of code my app cancels after a couple of seconds (but not exactly when this line is executed!). Same effect happens when I use a fixed string for example ";" instead of TRENNZEICHEN.

 

When the app is canceled in the console the message "App started" is printed,

 

Did anybody observe similar behavior?

 

Capitano

 

Best Answer
0 Votes
1 REPLY 1

@Capitano, I'm not able to reproduce this issue. If you want, you can send me a link to your application's code in private and I can give it a look.

Best Answer
0 Votes