(s_host,s_para)
| 220 | } |
| 221 | |
| 222 | function string_ends_in(s_host,s_para) |
| 223 | { |
| 224 | var b_result=false; |
| 225 | var sl=s_host.length; |
| 226 | var pl=s_para.length; |
| 227 | var ns=sl-pl; |
| 228 | var s_end_host=""; |
| 229 | if (ns>=0) |
| 230 | { |
| 231 | s_end_host=s_host.substring(ns,pl+ns); |
| 232 | if (s_end_host==s_para) b_result=true; |
| 233 | } |
| 234 | return b_result; |
| 235 | } |
| 236 | |
| 237 | function last_char_str(s) |
| 238 | { |
no outgoing calls
no test coverage detected