| Some question you may ask like the following: |
| I don't want the last character of my string, how? |
| string = chakhua12@gmail.com. |
| Solution: |
| string = StrReverse(Mid$(StrReverse(string), 2)) |
| Comment: There are many solution, but this is the |
| simple one, easy to understand. |
| How do I change all the following word to "@"(because ? |
| want to make email extractor) |
| [at] |
| -at- |
| <at> |
| =at= |
| Solution: |
| string = Replace(string, "[at]", "@") |
| string = Replace(string, "-at-", "@") |
| string = Replace(string, "<at>", "@") |
| string = Replace(string, "=at=", "@") |
2012年5月10日星期四
VBA convert data make easy!
订阅:
博文评论 (Atom)
没有评论:
发表评论