阅读背景:

如何截断。net字符串?

来源:互联网 

I would like to truncate a string such that its length is not longer than a given value. I am writing to a database table and want to ensure that the values I write meet the constraint of the column's datatype.I would like to truncate a string such that its




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: