VBScript/Classic ASP testing for single forward slash (/) -


I'm trying to determine that a slash ends in a classic ASP with a forward strash.

  if right (above, 1) = "/" then top = left (top, lane (above -1) end if  

In this example The above value is "/ Ct3test / aces / aces_roi /".

but I'm getting the error:

Microsoft VBSScript Runtime Error '800a000d' Type Mismatch: '[String: I have tried Chr (47) with the result that it does not like the forward slash and it does not help to avoid "\"

Any help greatly appreciated

The bracket was placed in a wrong place


Comments

Popular posts from this blog

php - Select box validation (in laravel) -

Creating a sparse matrix in Matlab with a specified number of independent Bernoulli +-1 nonzero entries -

pandas - Iterate on Groupby Object's fields -