1
vote
Vote UpVote

Implementing StartsText With SubText As Pattern - When Pattern Is A Regular Expression!

About Delphi Programming – in regex :: For a relative file path like "\abc\def\file.txt" I need to check if the file is located in the "\abc\def" folder (or in any of its sub folders). Let's call this "\abc\def" a predefined path. Note that I am not interested in the drive nor the path complexity before "\abc\def". How to determine if a substring begins another string in Delphi? Easy: use StartsText (StartsStr, Pos, ...). How to determine if a pattern-like substring begins another string in Delphi? Easy: use regular expression! Read the full article to learn how to Implement StartsText With SubText As (a Regular ...
Favorite? Off-Topic? 2012-06-15 04:00

Statistics

Visits: 598
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Philnext
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)