Hi
I want to create a function for capturing the first letter in a not-repeating string
For example if have this :
MyString = "aabbccddMffrryx"
So the first letter will be retuned as M
So i'm looking for the best and the easy way to do it in vbscript.
So i ask you how can i do this function (Method)
Thank you !
How to capture the first letter in a not-repeating string ?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: How to capture the first letter in a not-repeating strin
You would use RegEx to do this.
Start here for a tutorial on this subject: http://www.regular-expressions.info/
Start here for a tutorial on this subject: http://www.regular-expressions.info/