diff options
author | UbitUmarov | 2018-11-18 22:40:59 +0000 |
---|---|---|
committer | UbitUmarov | 2018-11-18 22:40:59 +0000 |
commit | 9dfb906666e5d5d1a17fdfd170fbd58254a0cce0 (patch) | |
tree | a6c04e5aa4ccbe623a940bc9a702096423c5a141 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |
parent | some cleanup (diff) | |
download | opensim-SC-9dfb906666e5d5d1a17fdfd170fbd58254a0cce0.zip opensim-SC-9dfb906666e5d5d1a17fdfd170fbd58254a0cce0.tar.gz opensim-SC-9dfb906666e5d5d1a17fdfd170fbd58254a0cce0.tar.bz2 opensim-SC-9dfb906666e5d5d1a17fdfd170fbd58254a0cce0.tar.xz |
add a few string functions to OSSL
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index bc5aa5c..1c003a0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -1287,5 +1287,55 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1287 | { | 1287 | { |
1288 | return m_OSSL_Functions.osGetAgentCountry(agentId); | 1288 | return m_OSSL_Functions.osGetAgentCountry(agentId); |
1289 | } | 1289 | } |
1290 | |||
1291 | public LSL_String osStringSubString(LSL_String src, LSL_Integer offset) | ||
1292 | { | ||
1293 | return m_OSSL_Functions.osStringSubString(src, offset); | ||
1294 | } | ||
1295 | |||
1296 | public LSL_String osStringSubString(LSL_String src, LSL_Integer offset, LSL_Integer length) | ||
1297 | { | ||
1298 | return m_OSSL_Functions.osStringSubString(src, offset, length); | ||
1299 | } | ||
1300 | |||
1301 | public LSL_Integer osStringStartsWith(LSL_String src, LSL_String value, LSL_Integer ignorecase) | ||
1302 | { | ||
1303 | return m_OSSL_Functions.osStringStartsWith(src, value, ignorecase); | ||
1304 | } | ||
1305 | |||
1306 | public LSL_Integer osStringEndsWith(LSL_String src, LSL_String value, LSL_Integer ignorecase) | ||
1307 | { | ||
1308 | return m_OSSL_Functions.osStringEndsWith(src, value, ignorecase); | ||
1309 | } | ||
1310 | |||
1311 | public LSL_Integer osStringIndexOf(LSL_String src, LSL_String value, LSL_Integer ignorecase) | ||
1312 | { | ||
1313 | return m_OSSL_Functions.osStringIndexOf(src, value, ignorecase); | ||
1314 | } | ||
1315 | |||
1316 | public LSL_Integer osStringIndexOf(LSL_String src, LSL_String value, LSL_Integer offset, LSL_Integer count, LSL_Integer ignorecase) | ||
1317 | { | ||
1318 | return m_OSSL_Functions.osStringIndexOf(src, value, offset, count, ignorecase); | ||
1319 | } | ||
1320 | |||
1321 | public LSL_Integer osStringLastIndexOf(LSL_String src, LSL_String value, LSL_Integer ignorecase) | ||
1322 | { | ||
1323 | return m_OSSL_Functions.osStringLastIndexOf(src, value, ignorecase); | ||
1324 | } | ||
1325 | |||
1326 | public LSL_Integer osStringLastIndexOf(LSL_String src, LSL_String value, LSL_Integer offset, LSL_Integer count, LSL_Integer ignorecase) | ||
1327 | { | ||
1328 | return m_OSSL_Functions.osStringLastIndexOf(src, value, offset, count, ignorecase); | ||
1329 | } | ||
1330 | |||
1331 | public LSL_String osStringRemove(LSL_String src, LSL_Integer offset, LSL_Integer count) | ||
1332 | { | ||
1333 | return m_OSSL_Functions.osStringRemove(src, offset, count); | ||
1334 | } | ||
1335 | |||
1336 | public LSL_String osStringReplace(LSL_String src, LSL_String oldvalue, LSL_String newvalue) | ||
1337 | { | ||
1338 | return m_OSSL_Functions.osStringReplace(src, oldvalue, newvalue); | ||
1339 | } | ||
1290 | } | 1340 | } |
1291 | } | 1341 | } |