Search found 21 matches

by dbm
Mon Feb 23, 2015 5:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get word after offset ?
Replies: 12
Views: 7753

Re: get word after offset ?

Thanks foru your answer Craig. I'm totally agree with you, unfortunately the data comes from a live system "as is". It's a router and I access it throught ssh. Example of returned data : Flags: X - disabled, A - active, I - incomplete 0 ;;; comentario de usuario customer=admin name="user1" actual-pr...
by dbm
Mon Feb 23, 2015 12:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get word after offset ?
Replies: 12
Views: 7753

Re: get word after offset ?

Thanks! It's a great advance, 'cause if i can get the data and make a substring copy with the desired item as the begining of the substring, the value will be always the second item :)
by dbm
Mon Feb 23, 2015 11:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get word after offset ?
Replies: 12
Views: 7753

Re: get word after offset ?

Thanks for your answer and your example Dixie. The problem that I try to solve is a little more complicated. Example: I've in a field the following text content: "example1=12345 example2=98765 example3=abcde example4=other" I want the string after example1 and example3 ( in this case 12345 and abcde...
by dbm
Mon Feb 23, 2015 8:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get word after offset ?
Replies: 12
Views: 7753

get word after offset ?

Hi to all, I've a variable with text in this form: "item1=value item2=value item3=value item4="another value" I need to get values of several items and I searched if exists a function inside livecode that does the job ( something like get the end of the word after "item1=" ) without luck. Before I b...
by dbm
Tue Feb 17, 2015 1:56 pm
Forum: Using Externals
Topic: [SOLVED] ssh external - error in function handler
Replies: 2
Views: 6807

Re: ssh external - error in function handler

If I execute the demo on mouseUp local ssh_session put ssh_new() into ssh_session ssh_options_set ssh_session, "host", field "host" ssh_options_set ssh_session, "port", field "port" ssh_connect ssh_session put ssh_userauth_password(ssh_session, field "login", field "password") into authResult livess...
by dbm
Tue Feb 17, 2015 1:29 pm
Forum: Using Externals
Topic: [SOLVED] ssh external - error in function handler
Replies: 2
Views: 6807

[SOLVED] ssh external - error in function handler

Hi, I'm trying to use SSH External (from Trevor Devore github). If this code : on loginCheck local sUsername, sPassword, shost, sport, ssh_session, resultado, indice -- delete stack "rnacrockfordExternalWrapper" set the visible of the templateStack to false set the name of the templateStack to "rnac...

Go to advanced search