【发布时间】:2015-08-19 19:47:42
【问题描述】:
想知道是否有搜索数组的函数,其中第一个字母与所选字母匹配。我可以做一些不那么优雅的事情,比如
Loop through array
Each item remove the first character, match to chosen search variable e.g if the first letter from apple, a equals my selection a, show.
【问题讨论】:
-
你能发布你尝试过的东西吗?
-
Filter array by first letter 的可能重复项