Jump to content
tsousa

[Resolvido] Percorrer String

Recommended Posts

tsousa

Boa tarde.

Eu estou a desenvolver um projecto e estou empancado numa parte em que preciso percorrer strings mas já não me lembro como fazer.

Tenho esta string: [false,false,false,false,false,false,true,12000,[],[0.17,0],0,[25.29,20.65]]

Mas só quero guardar, numa variável, o que está negrito.

Será que alguém me poderia fornecer o código necessário?

Cumps

Tiago Sousa

Share this post


Link to post
Share on other sites
ribeiro55

Vão existir sempre aquele número de trues e falses antes?

Se sim, usa String.Split(",")(7)


Sérgio Ribeiro


"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Share this post


Link to post
Share on other sites
tsousa

Vão existir sempre aquele número de trues e falses antes?

Se sim, usa String.Split(",")(7)

Ok, obrigao. Vou exprementar.

EDIT: Resultou, obrigado

Edited by tsousa

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.