473,385 Members | 1,934 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

A part of a string.

Hi i have the following string:
/BooksOnline/CadUser.aspx

But i need to get just ---> CadUser.aspx

How do i do ?
Nov 17 '05 #1
2 1057
System.IO.Path.GetFileName("/BooksOnline/CadUser.aspx")
Joshua Flanagan
http://flimflan.com/blog

Daniel Groh wrote:
Hi i have the following string:
/BooksOnline/CadUser.aspx

But i need to get just ---> CadUser.aspx

How do i do ?

Nov 17 '05 #2
Everything ok Josh, thanks!

"Joshua Flanagan" <jo**@msnews.com> escreveu na mensagem
news:%2***************@TK2MSFTNGP15.phx.gbl...
System.IO.Path.GetFileName("/BooksOnline/CadUser.aspx")
Joshua Flanagan
http://flimflan.com/blog

Daniel Groh wrote:
Hi i have the following string:
/BooksOnline/CadUser.aspx

But i need to get just ---> CadUser.aspx

How do i do ?

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Pjotr Wedersteers | last post by:
Hello, I have strings like these: $line = "Item <name> xxx stock, costs yyy and will sell for amount zzz"; Problem is <name> can consist of 1..n words. Most items are single words, but...
1
by: José Carlos | last post by:
Hi. How can i part a big string to block of information of (4Kb for example).? i´m trying send it from a socket client to server and how can i calculate the time it´s coming. Thank you. ...
11
by: ALI-R | last post by:
why c# function for string manupolation is not as strong as other languages ,for extracting a substring from a middle of another string ,I have a lot of problems. Any suggestion or I am in the...
32
by: tshad | last post by:
Can you do a search for more that one string in another string? Something like: someString.IndexOf("something1","something2","something3",0) or would you have to do something like: if...
1
by: Marc | last post by:
Hi! I'm working with a C# client that calls a php web service. I've created a wrapper to call the service using .NET wsdl tool (adding a web reference). The call to the server works fine, it...
6
by: karthi | last post by:
hi, I need user defined function that converts string to float in c. since the library function atof and strtod occupies large space in my processor memory I can't use it in my code. regards,...
2
by: TCB | last post by:
How can I separate multiple email addresses entered in a single textbox so I can send email in ASP.NET 2.0, the email addresses are separated by (,) or (;) Thanks
5
by: mosscliffe | last post by:
I am looking for a simple split function to create a list of entries from a string which contains quoted elements. Like in 'google' search. eg string = 'bob john "johnny cash" 234 june' and...
4
by: =?Utf-8?B?aXdkdTE1?= | last post by:
hi, im having a small issue. I pass a String object to a method, but then when i try to use the Split method of a String array, it says System.Array does not contain Split. The parameter of my...
8
by: SMJT | last post by:
Does anyone know why the string contains function always returns true if the token is an empty string? I expected it to return false. "AnyOldText".Contains("") or...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.