Restrict string length function

xiaoxiao2021-03-06  47

<% # Backstring (dataBinder.eval (Container.DataItem, "InfotitL"). TSTRING ())%>

Define a function public string backstring in the background {Return Str.substring (StartIndex Strlength

Or you can get directly at the front desk (but this no tried) <% # DataBinder.eval (Container.DataItem, "InfotitL"). TOSTRING (). Substring (StartIndex, Strling "%>

good luck!

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

New Post(0)