1、关于NSString的方法
官方提供的方法:
/* In the enumerate methods, the blocks will be invoked inside an autorelease pool, so any values assigned inside the block should be retained.
*/
let a:Number=1;//数值类型
let b:String = "angularjs2";//字符类型
let c:boolean = true; //布尔类型
let d:Number [] = [1,2,3]; //数组
let e:any[] = [1,"aa",true];//任意类型
enum meiJu {
var filterApp=angular.module("FilterApp", [])
filterApp.controller("AmountFilter",function(){
});
filterApp.filter("Chinese",function(){
return function(input){
var numb