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

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -