Here no built-in function is used...
Please check and run.

On Mon, Oct 28, 2013 at 6:12 PM, Amit Kumar <[email protected]>wrote:

> Using RegExp, we can do this..
>
>
> Dim arr()
> On error resume next
> str="My name is amit"
> Set regex=new RegExp
> regex.IgnoreCase=true
> regex.Global=true
> regex.pattern ="."
> Set obj=regex.execute(str)
> ReDim arr(obj.count-1)
> i=0
> For each temp in obj
>     arr(i)=temp.value
>     i=i+1
> Next
> print i
> Set obj=nothing
> Set regex=nothing
>
>
> On Mon, Oct 28, 2013 at 3:53 PM, Ravi Sid <[email protected]> wrote:
>
>> Str = "My Name is Ravi"
>> count=1
>> While (Mid(Str,count,1)<>"")
>> count=count+1
>> Wend
>> msgbox count-1
>>
>> Without using len function
>>
>> Regards,
>> Ravi S
>>
>>
>> On Mon, Oct 28, 2013 at 12:53 PM, Arunabh Ray <[email protected]>wrote:
>>
>>> Why not just use LEN(s) ??? Much easier.
>>>
>>>
>>> On Fri, Oct 25, 2013 at 3:46 AM, Suresh Bhandari <
>>> [email protected]> wrote:
>>>
>>>> Mid is Inbuild function ...
>>>>
>>>> On Oct 24, 2013, at 9:17 AM, shikhar khandare <[email protected]>
>>>> wrote:
>>>>
>>>> No one understanding the issue :
>>>>
>>>> Please find the code below :
>>>> s="hijkl"
>>>>
>>>> For i=1 to 100
>>>>  s1= mid(s,1,i)
>>>>  If s1=s Then
>>>> print "length of string" & i
>>>> Exit for
>>>>  End If
>>>> Next
>>>>
>>>>
>>>> On Saturday, 26 March 2011 14:23:32 UTC+5:30, Suresh Bhandari wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Can anybody tell, how to find length of String *without using InBuild
>>>>> Function*.
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Suresh Bhandari
>>>>> Mob - 9052999540
>>>>>
>>>>  --
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>>
>>> Arunabh Ray
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to