FindString(Chaine$, ChaineCherchee$, PositionDepart,accent)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

FindString(Chaine$, ChaineCherchee$, PositionDepart,accent)

Post by dobro »

it seems a shame that there have not a parameter in this function additionally

as:
FindString(Chaine$, ChaineCherchee$, PositionDepart,accent)
that would allow this function to search as:

FindString("le chat a mangé" , "mange", 1,1) ;FindString do that is "eaten" with emphasis, using the word NOT emphasis
he therefore considered whether the same word ....


******************************************************************************************************
en Français :

il me semble bien dommage qu'il n'y ai pas un parametre supplémentairement dans cette fonction

genre :
FindString(Chaine$, ChaineCherchee$, PositionDepart,accent)
qui permetrait a cette fonction de faire une recherche du genre

FindString("le chat a mangé" , "mange", 1,1) ; c'est a dire pourvoir faire que findstring trouve "mangé" avec accent , en utilisant le mot de recherche SANS accent :)

qu'il considérè donc qu'il s'agisse du même mot .....

Fred , si tu lis ça .... ;)
**********************************************************************************************************
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/