M Maki25 Member Licensed User Longtime User Jan 28, 2011 #1 Hello, I need to know the correct way to divide a text basic4android. I explain; visual basic code Mid ("Visual Basic", 3, 4) = "sual" possible? Thanks Last edited: Jan 28, 2011
Hello, I need to know the correct way to divide a text basic4android. I explain; visual basic code Mid ("Visual Basic", 3, 4) = "sual" possible? Thanks
klaus Expert Licensed User Longtime User Jan 28, 2011 #2 B4X: "Visual Basic".SubString2(2,6) or B4X: txt="Visual Basic" txt1=txt.".SubString2(2,6) You find the help here: Basic4android - Core Best regards. EDIT: modifyed SubString to SubString2 Last edited: Jan 28, 2011 Upvote 0
B4X: "Visual Basic".SubString2(2,6) or B4X: txt="Visual Basic" txt1=txt.".SubString2(2,6) You find the help here: Basic4android - Core Best regards. EDIT: modifyed SubString to SubString2
M Maki25 Member Licensed User Longtime User Jan 28, 2011 #3 thanks for your quick help KLAUS. Is what I was looking for best regards Oscar Upvote 0
M Maki25 Member Licensed User Longtime User Jan 28, 2011 #4 klaus said: B4X: "Visual Basic".SubString(2,6) or B4X: txt="Visual Basic" txt1=txt.".SubString(2,6) You find the help here: Basic4android - Core Best regards. Click to expand... A note only "Visual Basic".SubString(2,6) ' not work "Visual Basic".SubString(2)= "sual Basic" "Visual Basic".SubString2(0,7)= "Visual B" regards Oscar Last edited: Jan 28, 2011 Upvote 0
klaus said: B4X: "Visual Basic".SubString(2,6) or B4X: txt="Visual Basic" txt1=txt.".SubString(2,6) You find the help here: Basic4android - Core Best regards. Click to expand... A note only "Visual Basic".SubString(2,6) ' not work "Visual Basic".SubString(2)= "sual Basic" "Visual Basic".SubString2(0,7)= "Visual B" regards Oscar
klaus Expert Licensed User Longtime User Jan 28, 2011 #5 Sorry, it should have been SubString2. Best regards. Upvote 0