提醒:Truncate string on whole words in .Net C# 2011年04月14日

订阅:thomykay
演示:以MSN订阅提醒为例 订阅到哪吒,有更新提醒我
哪吒机器人提醒:
提醒:.net Questions - Stack Overflow
【标题】Truncate string on whole words in .Net C#
【摘要】hi,i am trying to truncate some long text in c#, but i don't want my string to be cut off part way through a word. does anyone have a function that i can use to truncate my string at the end of a word?e.g:"this was a long string..."not:"this was a long st..."thanks,tim... (04-14 07:36)
收藏 |  评论 |  推荐给好友  | 
本文共有 0 次分享
评论
共有 - 条评论


我要反馈