Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 MS Access 中有一个包含街道地址的列。我需要从例如第 21、第 32、第 33、第 44 中删除“st”、“nd”、“rd”和“th”......并保留数字......有什么想法我该怎么做?
谢谢!
该Val()功能在这里可能很有用。它将从字符串中读取数字,直到遇到无法识别为数字一部分的字符。有关详细信息,请参阅帮助主题。
Val()
? Val("21st") 21 ? Val("32nd") 32 ? Val("33rd") 33 ? Val("44th") 44