substring function in ASP?

[b][red]This message was edited by kashifmunir at 2004-5-25 0:32:3[/red][/b][hr]
can anybody let me know what is the syntax of the function in ASP that returns a substring between 2 given indexes. i have used substr and substring but they dont work. is there any alternative?

Thanks


Comments

  • [b][red]This message was edited by Flakes at 2004-5-25 1:17:22[/red][/b][hr]
    : [b][red]This message was edited by kashifmunir at 2004-5-25 0:32:3[/red][/b][hr]
    : can anybody let me know what is the syntax of the function in ASP that returns a substring between 2 given indexes. i have used substr and substring but they dont work. is there any alternative?
    :
    : Thanks
    :
    :
    :


    You can use the mid function

    mid(string,startindex,no_of_chars)

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctmid.asp

    HTH


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion