c#怎么取字符串最右边3个字符

2025-05-13 13:50:35
推荐回答(1个)
回答(1):

string a="你的字符串"
a.substring(a.length-3,3);
这样取出的就是最右边的三个。