Returns the previous n characters

xiaoxiao2021-03-05  24

Write a function public string getchar (str.length> len) {str = str.substring (0, len); str = STR "..."; return STR; } else {return str;}} uses <% # getchar (databinder.eval (to display field name ") .tostring (), 10)%> in the ASPX page.

转载请注明原文地址:https://www.9cbs.com/read-38190.html

New Post(0)