![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Say I have a text string like "0002323235-3434-3545" and I want to remove the leading zeros, would a regular expression work here? sorry I haven't worked with regex's that much and still need to get caught up on them if so how would you go aboutdoing that? thanks! |
#3
| |||
| |||
|
|
Say I have a text string like "0002323235-3434-3545" and I want to remove the leading zeros, would a regular expression work here? sorry I haven't worked with regex's that much and still need to get caught up on them if so how wouldyou go about doing that? thanks! |
#4
| |||
| |||
|
|
"0002323235-3434-3545" and I want to remove the leading zeros, would a regular expression work here? |
#5
| |||
| |||
|
|
* "Brian Henry" <brianiup[nospam]@adelphia.net> scripsit: "0002323235-3434-3545" and I want to remove the leading zeros, would a regular expression work here? I would use this code: \\\ Dim s As String = "000012" MsgBox(s.TrimStart("0"c)) /// -- Herfried K. Wagner [MVP] URL:http://dotnet.mvps.org/ |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |