Results 1 to 3 of 3

Thread: TReplaceFlags

  1. #1
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  2. #2
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Type rf (or even TReplaceFlag) in Simba and then hold control and press space .

    Edit:
    Example:
    Simba Code:
    Writeln(Replace('Sex is the best. I like Sex.', 'Sex', 'Shuttleu', [])); // 'Shuttleu is the best. I like Sex.'
    Writeln(Replace('Sex is the best. I like sex.', 'Sex', 'Shuttleu', [rfReplaceAll])); // 'Shuttleu is the best. I like sex.'
    Writeln(Replace('Sex is the best. I like sex.', 'sex', 'Shuttleu', [rfReplaceAll, rfIgnoreCase])); // 'Shuttleu is the best. I like Shuttleu.'
    etc.
    Last edited by Sex; 01-04-2012 at 03:40 AM. Reason: press enter->press space
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  3. #3
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Perhaps someone can add these to the documentation?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

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
  •