找考题网-背景图
单项选择题

变量Address2包含诸如Piscataway,NJ之类的值。如何将两个字母的州缩写分配给名为State的新变量?()

A.State=scan(address2,2);
B.State=scan(address2,13,2);
C.State=substr(address2,2);
D.State=substr(address2,13,2);

热门试题