With out using Mid function in vb scripts

With out using Mid in build functions require ,can any one help.

Showing Answers 1 - 12 of 12 Answers

parminder

  • Nov 30th, 2014
 

Crop the string ..these are of two types :left function and right function

  Was this answer useful?  Yes

Asalam

  • Feb 10th, 2015
 

Code
  1. Dim sometext

  2. sometext = "India"

  3. a = Left(sometext,4)

  4. b = right(a,3)

  5. msgbox b


  Was this answer useful?  Yes

Nodir

  • May 7th, 2015
 

ndi

  Was this answer useful?  Yes

ashish

  • Feb 7th, 2016
 

Function midstr_return(ByValue str,ByValue i_loc,ByValue j_no)
str1=str
len1=LEN(str1)
len_loc=len1-i_loc
a=RIGHT(str1,len_loc)
b=LEFT(a,j_no)
return b
End Function

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions