Results 1 to 3 of 3

Thread: String Arrays

  1. #1
    Join Date
    Apr 2017
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default String Arrays

    How do I delete an index of an array? How do I append a value to the array? If a value exists in the array and I want to append the same value again, would the array list the value twice or just once? If I explode a string 'hello world' is index 0 'hello' and index 1 'world'?

    Also, this isnt about arrays, but strings. There is a replace procedure, but I want to delete instead of replace. For example, if the string is 'Hello World!' I want to delete everything after 'World'. Please help, thank you.

  2. #2
    Join Date
    Dec 2013
    Location
    Pitcairn Island
    Posts
    288
    Mentioned
    20 Post(s)
    Quoted
    166 Post(s)

    Default

    Check out Janis thread about strings: https://villavu.com/forum/showthread.php?t=82205

    and the simba docs if you haven't already: http://docs.villavu.com/simba/scriptref/string.html

    and the srl-6 string arrays docs: http://docs.villavu.com/srl-6/stringarrays.html

  3. #3
    Join Date
    Apr 2017
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    THanks! Just what I was looking for.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •