Hi, I just want to know if i can remove a part of a string
Exemple : in Textbox1 i have "C:\Users\Someone\Desktop\test.exe" and i want delete the string until the "\" so in the textbox i get "C:\Users\Someone\Desktop\"
Thanks if you reply me and sorry for the bad english, its not my main language ...
JustARandomguy
0
Newbie Poster
Recommended Answers
Jump to PostYou haven't mentioned what language you intend to be using for this but the answer is yes, it's possible. Depending on what functions you have available in your chosen language you need to determine the location of the last \ and then create a substring from position 0 to the …
All 4 Replies
hericles
289
Master Poster
Featured Poster
JustARandomguy
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
JustARandomguy
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.