volvomann Active Member Licensed User Longtime User May 18, 2012 #1 If my stringvariable is look like xxxxxxxxx.doc is there a way to remove .doc so the string look like xxxxxxxxxxxx?
If my stringvariable is look like xxxxxxxxx.doc is there a way to remove .doc so the string look like xxxxxxxxxxxx?
NJDude Expert Licensed User Longtime User May 18, 2012 #2 Like this: B4X: Dim Msg As String Msg = "something.doc" Msg = Msg.Replace(".doc", "") Msgbox(Msg, "") Upvote 0
Like this: B4X: Dim Msg As String Msg = "something.doc" Msg = Msg.Replace(".doc", "") Msgbox(Msg, "")
volvomann Active Member Licensed User Longtime User May 18, 2012 #3 NJDude said: Like this: B4X: Dim Msg As String Msg = "something.doc" Msg = Msg.Replace(".doc", "") Msgbox(Msg, "") Click to expand... OOOOOO so simple Thank you thank you Last edited: May 18, 2012 Upvote 0
NJDude said: Like this: B4X: Dim Msg As String Msg = "something.doc" Msg = Msg.Replace(".doc", "") Msgbox(Msg, "") Click to expand... OOOOOO so simple Thank you thank you