... "example" in a file called "myfile.txt," you would use the following command: findstr "example" myfile.txt Regular Expressions: findstr supports regular expressions, which allows for more complex search patterns. For example, to find lines containing numbers, you ...
... and RECCOUNT() include deleted records also. ORDKEYCOUNT() also does not exclude deleted records by itself, but honors filters, scopes and index expressions. So, 1) SET FILTER TO !DELETED()? OrdKeyCount() 2) INDEX ON RECNO() TAG RECS FOR !DELETED() // keep this ...
... and RECCOUNT() include deleted records also. ORDKEYCOUNT() also does not exclude deleted records by itself, but honors filters, scopes and index expressions. So, 1) SET FILTER TO !DELETED()? OrdKeyCount() 2) INDEX ON RECNO() TAG RECS FOR !DELETED() // keep this ...
... and RECCOUNT() include deleted records also. ORDKEYCOUNT() also does not exclude deleted records by itself, but honors filters, scopes and index expressions. So, 1) SET FILTER TO !DELETED()? OrdKeyCount() 2) INDEX ON RECNO() TAG RECS FOR !DELETED() // keep this ...
... adapt this logic to the specific syntax and functions of the programming language you are using. If you're using a language that supports regular expressions, that could be an even more robust solution. Let me know if you need help in a specific programming language! User I need harbour code ChatGPT ...
Sorry, Antonio! I don't really understand how substitution characters can be used in regular expressions. I need to find a phrase in the text. This phrase is in the text, but the separators between the words may be different
... all characters other than accented characters are represented by a single byte (and the same byte) both in ANSI and UTF8. So, normal RegEx expressions should work with UTF8 text also, if you are not programming for Asian languages
... use "HDATE < (date + 1 )" than "HDATE <= (date)", because many RDBMS use datetime fields. How to easily generate these expressions? We better make it a habit to open an ADO connection using FW_OpenAdoConnection() of FWH instead of opening on our own with ADODB.Connection. ...
... CLIENT->(dbseek(COD_CLI+str(COD_NUM,2))) with MARIA DB oRS:seek(COD_CLI, COD_NUM) correct ? tia We are thinking of sorting and seek on compound expressions. We will announce this enhancement soon
... Mr. Venken OrdWildSeek( cSeek, ... ) is actually an (x)Harbour function in DBFNTX and DBFCDX RDDs, applicable for indexed DBFs. We can seek expressions like "*A?C" The above post refers to similar functionality we created in FWMaria library for MySql tables. In fact, there was ...
Hi Jimmy. There is a FWH function: cGetExpression() It user \fwh\samples\expbuild.rc and \fwh\samples\ExpBuild.ch. The use is for expressions. I made a very simple routine (back in fw 2.0 - Just transalte it from Portugese) Function MOVFIELDS()local oDlg1, oLbx1, oLbx2, aItm2:={}, ...
... of either field number or field name. So, with these classes ? o:FieldGet( fieldname ) also works. FWH goes further. We can even use expressions: ? o:FieldGet( "QUANTITY * PRICE" ) where QUANTITY and PRICE are field names. Now, you may ask. Why did we write ...
... * PRICE" ;HEADERS "Item", "Name", "Quantity", "Rate", "Amount" ; The expressions listed in COLUMNS clause are stored in each oCol:cExpr. So, oCol:cExpr need not always contain the field name, but actually the expression ...
... * PRICE" ;HEADERS "Item", "Name", "Quantity", "Rate", "Amount" ; The expressions listed in COLUMNS clause are stored in each oCol:cExpr. So, oCol:cExpr need not always contain the field name, but actually the expression ...
... (CDX), you can do almost everything you want in this part of the screen: https://i.imgur.com/iClhmZR.jpg You can also execute SQL expressions through this menu: https://i.imgur.com/NSoglEX.jpg I Used to do REPLACE using SQL expressions