maniootek Posted February 16, 2010 Posted February 16, 2010 (edited) example: $var = "Random text <atribute1>" how to cut this string to get in new variable text which contain "atribute1" between "<" and ">" characters $var2 = "atribute1" added: or how to get token from this text: $var = "this is some text" token1 = "this" token2 = "is" token3 = "some" token4 = "text" Edited February 16, 2010 by maniootek
Moderators Melba23 Posted February 16, 2010 Moderators Posted February 16, 2010 maniootek,Dog eaten your Help file?_StringBetween sounds like a good starting point to me! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
maniootek Posted February 16, 2010 Author Posted February 16, 2010 Im always looking in "Functions list" http://www.autoitscript.com/autoit3/docs/functions.htm I don't know where is a list with all libfunctions what about those tokens?
whim Posted February 16, 2010 Posted February 16, 2010 I don't know where is a list with all libfunctions What about the "Contents" tab of the left pane of the helpfile (sorted by category) orthe "Index" tab for alphabetical list ?Also has all the UDF funcsHTH,whim
AndyG Posted February 18, 2010 Posted February 18, 2010 what about those tokens?#include <array.au3> $Array=stringsplit("what about those tokens"," ",3) _arraydisplay($array)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now