随笔分类 -  Apex & Visualforce

摘要:匹配首字母为字母,后续为数字的号码: Pattern.matches('^[a-zA-Z]-*[0-9]+', String) 阅读全文
posted @ 2019-03-20 17:14 慕少艾 阅读(146) 评论(0) 推荐(0)
摘要:String objectName = 'ObjectName';String fieldName = 'FieldName';// 获得lookup field 的objectresultSchema.DescribeFieldResult f = Schema.getGlobalDescribe 阅读全文
posted @ 2018-12-18 16:11 慕少艾 阅读(350) 评论(0) 推荐(0)