开发者

How to remove - before the text -450

i have a textbox showing -450 as output but i want it displays out put as 450 by removing - from 45开发者_StackOverflow社区0 ....


string text = TextBox.Text.Replace("-", "");

string text = TextBox.Text.TrimStart('-');

string text = TextBox.Text.Remove(0, 1);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜