murrayf3 Posted October 16, 2002 Posted October 16, 2002 I'm trying to use the position function to parse URLs. I'm looking for the "." (period) delimiter and I want the position of the one that is nearest to the end of the string. WIth the rawtext = "demos.su" Position( rawtext, ".", 1, -1) returns 0 This doesn't seem right. What am I missing?
kennedy Posted October 16, 2002 Posted October 16, 2002 Try: Position(rawtext, ".", Length(rawtext), -1)
Recommended Posts
This topic is 8419 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now