![]() |
extract and verify
Hello :
Const Head:String='BTR'; Var S:String ; Begin S:='myfirstfile.doc'; end; So what i want is : to verify that the S always starts with 'BTR' i mean like if not (S) starts with ('BTR') then exit else Continue . S:=BTRmyfirstfile.doc =True S:=myfirstfile.doc =false and i want to be sure the file name contains only A..Z or 0..9 so only letters and numbers . How could i do like this verification . Thank you |
Re: extract and verify
Hello
Zitat:
AnsiStartsStr returns True if the string specified by ASubText appears as the leading part of the string specified by AText. Comparison is performed case-sensitively. Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:32 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz