Findstr function

Findstr function - 消息

#1 已发布: 2014/2/17 08:22:59
sergio

sergio

127个赞,共342个帖子。

组: User

Hello,
It seems that the "findstr" function gives a numeric value of type special format.
For this reason the Boolean operations on the result would not work properly .
[albumimg]345[/albumimg]

sergio
#2 已发布: 2014/2/17 08:30:39
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hi Sergio,

Is not a bug of findstr, this returns a list of matches or -1 (but boolean's lacks are already known)

You need to change the logic of your script (see the attachment)


Best regards,

Davide
2014-02-17 13_28_15-SMath Studio Desktop - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2014/2/17 11:11:40
sergio

sergio

127个赞,共342个帖子。

组: User

Thanks for the explanation Davide,

as you have pointed out, the Boolean implementation needs to be improved.
Your trick has worked well.

sergio
  • 有新帖
  • 无新帖