Quantcast
Channel: String replace question
Browsing latest articles
Browse All 3 View Live

String replace question

Use a regular expression that in one codeline shall cut your strings trail blanks out.Giuseppe

View Article



String replace question

use Trim() method-           string name = "ROKO LAB       ";            name = name.Trim(); regardsjayant

View Article

String replace question

Im reading strings from database.I get strings with a lot of spaces on the end.If I have string like this:  string name = "ROKOLAB           "; i doname = name.Replace(" ", "");and I get "ROKOLAB". The...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images