d0n Posted June 15, 2009 Posted June 15, 2009 Hi, i was wonder what the best way is to approach this problem. Basically what i have now is a string that will slowly get longer as time passes, and once it reaches a certain text limit it will begin to remove the old part of the text while replacing it with new ones. Now i want to look for a string "ABC is here" and do an action once the string is found, what would be the best way to approach this problem? One question i have is in the Stringinstr command, how do make it always look for the last occurrence? Thanks
herewasplato Posted June 15, 2009 Posted June 15, 2009 ... always look for the last occurrence? ...does this flag do what you want. occurrence [optional] Which occurrence of the substring to find in the string. Use a negative occurrence to search from the right side. The default value is 1 (finds first occurrence). [size="1"][font="Arial"].[u].[/u][/font][/size]
Recommended Posts
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