質問

I'm getting error "Error Error: AddIMRConroller Compile Error: Initial term of field expression must be a concrete SObject: LIST at line 21 column 23" from below line of code .

string[] str1 = imrTable.split('\r\n'); System.debug( str1.length);

役に立ちましたか?

解決

In salesforce , we need to use size() method instead of length . this is something different then Java :(

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top